Index: src/harmony-array.js |
diff --git a/src/harmony-array.js b/src/harmony-array.js |
index 72625a57f55423d93c72f8f9d674dc8416df9dd5..da5857ad0868f16190a184ec9de1442e9b758f5c 100644 |
--- a/src/harmony-array.js |
+++ b/src/harmony-array.js |
@@ -224,6 +224,9 @@ function HarmonyArrayExtendArrayPrototype() { |
%FunctionSetLength(ArrayFrom, 1); |
+ // Upgrade index conversion semantics to ES6. |
+ ToLength.harmony = true; |
+ |
// Set up non-enumerable functions on the Array object. |
InstallFunctions($Array, DONT_ENUM, $Array( |
"from", ArrayFrom, |