and I'm actually kinda disappointed that `setOf(Na...
# announcements
g
and I'm actually kinda disappointed that
setOf(NaN, NaN).size
returns
1
u
groostav: well, depends on the compiler target 🙂
Copy code
fun main(args: Array<String>) {
 println(setOf(Double.NaN, Double.NaN).size)
}
prints 1 on kotlin -> JVM and 2 on kotlin -> JavaScript
g
oh man that gives me the willies