Index: src/js/array.js |
diff --git a/src/js/array.js b/src/js/array.js |
index e36dcb66ccfc3e7f15781b553284a78906cd9607..65ada1e39035ace64d48da44d88ba98623425533 100644 |
--- a/src/js/array.js |
+++ b/src/js/array.js |
@@ -12,7 +12,6 @@ |
// Imports |
var AddIndexedProperty; |
-var Delete; |
var FLAG_harmony_tolength; |
var GetIterator; |
var GetMethod; |
@@ -35,7 +34,6 @@ var unscopablesSymbol = utils.ImportNow("unscopables_symbol"); |
utils.Import(function(from) { |
AddIndexedProperty = from.AddIndexedProperty; |
- Delete = from.Delete; |
GetIterator = from.GetIterator; |
GetMethod = from.GetMethod; |
MakeTypeError = from.MakeTypeError; |
@@ -490,8 +488,7 @@ function ArrayPop() { |
n--; |
var value = array[n]; |
- // TODO(jkummerow): Use %DeleteProperty_Strict instead, delete "Delete". |
- Delete(array, n, true); |
+ %DeleteProperty_Strict(array, n); |
array.length = n; |
return value; |
} |