Index: src/array-iterator.js |
diff --git a/src/array-iterator.js b/src/array-iterator.js |
index 8efabe50e325140cb39f3c43879803554462926d..965e672f0d67aaa92dd44265dcce2a0b09340acd 100644 |
--- a/src/array-iterator.js |
+++ b/src/array-iterator.js |
@@ -138,6 +138,10 @@ utils.InstallFunctions(GlobalArray.prototype, DONT_ENUM, [ |
'keys', ArrayKeys |
]); |
+// TODO(adam): Remove this call once 'values' is in the above |
+// InstallFunctions block, as it'll be redundant. |
+utils.SetFunctionName(ArrayValues, 'values'); |
+ |
%AddNamedProperty(GlobalArray.prototype, symbolIterator, ArrayValues, |
DONT_ENUM); |