andylamax
04/01/2022, 12:01 AMLong
object is not mapped to Javascript's BigInt
?
2. Is there a reason why Kotlin Number
is not mapped to Javascript's Number
3. Is there a reason why Kotlin Map
and Set
are not mapped to Javascript's Map
and Set
respectively?jw
04/01/2022, 12:03 AMjw
04/01/2022, 12:04 AMephemient
04/01/2022, 12:12 AMephemient
04/01/2022, 12:14 AMephemient
04/01/2022, 12:14 AMephemient
04/01/2022, 12:15 AMandylamax
04/01/2022, 1:27 AMandylamax
04/01/2022, 1:28 AMJs BigInt is not a JS NumberFor some funky reasons, that makes sense to me now why Number should't be exported to Js Number
andylamax
04/01/2022, 1:29 AMephemient
04/01/2022, 1:47 AMjw
04/01/2022, 2:06 AMGrégory Lureau
04/01/2022, 7:15 AMephemient
04/01/2022, 8:59 AMturansky
04/01/2022, 12:15 PMMap
and Set
in Kotlin are interfaces with multiple implementations and you can write your own implementation
2. In JS Map
and Set
and classes, which use other key equality rules
3. You can find direct analog for JS class (Array
, String
), but not for interface