Is there a reason why Map and Set don't map to the...
# javascript
b
Is there a reason why Map and Set don't map to their JS equivalents (https://kotlinlang.org/docs/reference/js-to-kotlin-interop.html)?
s
There is. JS Map and Set use
===
for key equality while Kotlin uses
.equals()
and
.hashCode()
👍 1
b
Thanks!