JS: use slice() instead of slice(0) to copy arrays (minor).

This commit is contained in:
Ilya Gorbunov
2016-02-17 19:32:43 +03:00
parent cbd38f007c
commit 6b1ed8fd61
3 changed files with 27 additions and 11 deletions
@@ -58,7 +58,7 @@ fun specialJS(): List<GenericFunction> {
returns("SELF")
returns(ArraysOfObjects) { "Array<T>" }
body {
"return this.asDynamic().slice(0)"
"return this.asDynamic().slice()"
}
}