JS: fix double compareTo behaviour for NaN and +-0 (KT-22723)

This commit is contained in:
Anton Bannykh
2017-12-27 21:18:05 +03:00
parent 12c01ef80a
commit ed80252ba8
49 changed files with 260 additions and 307 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS
fun box(): String {
val plusZero: Double? = 0.0
val minusZero: Double = -0.0