JS backend: cleanup strings code.
Added String.size and String.length().
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package foo
|
||||
|
||||
fun box(): Boolean {
|
||||
val s = "bar"
|
||||
return s.size == 3 && s.length() == 3 && s.length == 3
|
||||
}
|
||||
Reference in New Issue
Block a user