WASM: Implement string.compareTo and string.subSequence
This commit is contained in:
committed by
TeamCityServer
parent
0eba74a9d2
commit
468fe4196d
@@ -913,7 +913,7 @@ public actual fun abs(n: Int): Int = TODO("Wasm stdlib: Math")
|
||||
* Returns the smaller of two values.
|
||||
*/
|
||||
@SinceKotlin("1.2")
|
||||
public actual fun min(a: Int, b: Int): Int = TODO("Wasm stdlib: Math")
|
||||
public actual fun min(a: Int, b: Int): Int = if (a < b) a else b
|
||||
|
||||
/**
|
||||
* Returns the greater of two values.
|
||||
|
||||
Reference in New Issue
Block a user