I'm transferring some code from Python into JavaScript. Just wondering how I could get the number 'i' in JavaScript (in Python its just 1j).
Asked
Active
Viewed 36 times
0
-
No such number type exists. Either use a library, or implement all the necessary logic yourself – CertainPerformance Sep 28 '19 at 22:05
-
Maybe soon: https://github.com/tc39/proposal-extended-numeric-literals… – Sebastian Simon Sep 28 '19 at 22:06