Index: src/array.js |
diff --git a/src/array.js b/src/array.js |
index 467fd99d68a4868b49ebb63f5ccf4acacf7fb6e5..309871f6f95a7811537d1be6132e6afe7fea1be3 100644 |
--- a/src/array.js |
+++ b/src/array.js |
@@ -243,7 +243,7 @@ function SparseSlice(array, start_i, del_count, len, deleted_elements) { |
for (var i = start_i; i < limit; ++i) { |
var current = array[i]; |
if (!IS_UNDEFINED(current) || i in array) { |
- %AddElement(deleted_elements, i - start_i, current, NONE); |
+ %AddElement(deleted_elements, i - start_i, current); |
} |
} |
} else { |
@@ -254,7 +254,7 @@ function SparseSlice(array, start_i, del_count, len, deleted_elements) { |
if (key >= start_i) { |
var current = array[key]; |
if (!IS_UNDEFINED(current) || key in array) { |
- %AddElement(deleted_elements, key - start_i, current, NONE); |
+ %AddElement(deleted_elements, key - start_i, current); |
} |
} |
} |
@@ -336,7 +336,7 @@ function SimpleSlice(array, start_i, del_count, len, deleted_elements) { |
var current = array[index]; |
// The spec requires [[DefineOwnProperty]] here, %AddElement is close |
// enough (in that it ignores the prototype). |
- %AddElement(deleted_elements, i, current, NONE); |
+ %AddElement(deleted_elements, i, current); |
} |
} |
} |