Just out of curiosity — how are things like Longs ...
# javascript
c
Just out of curiosity — how are things like Longs implemented in Kotlin/JS if JavaScript only has floating-point numbers? 🤔
a
They are implemented as objects iirc (whereas ints are implemented just as JS numbers)
b
Take a look at implementations: • long.jslong.kt
Last one is used with new JS compiler backend