Maps and sets: cleanup, simplify, refactor.

#KT-12386
This commit is contained in:
Ilya Gorbunov
2016-08-26 03:24:55 +03:00
parent b05c2c1f6a
commit 5cd3417d4c
9 changed files with 317 additions and 383 deletions
+4
View File
@@ -902,6 +902,10 @@
return new Kotlin.ArrayIterator(array);
};
Kotlin.deleteProperty = function (object, property) {
delete object[property];
};
Kotlin.jsonAddProperties = function (obj1, obj2) {
for (var p in obj2) {
if (obj2.hasOwnProperty(p)) {