Maps and sets: cleanup, simplify, refactor.
#KT-12386
This commit is contained in:
+4
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user