| Index: src/harmony-array.js
|
| diff --git a/src/harmony-array.js b/src/harmony-array.js
|
| index 5152a557dd51c50e1527b0e4562da25b4666666b..cdd63be41611c1c17ad85eab60ede0fababa7868 100644
|
| --- a/src/harmony-array.js
|
| +++ b/src/harmony-array.js
|
| @@ -211,10 +211,10 @@ function ArrayOf() {
|
| function HarmonyArrayExtendSymbolPrototype() {
|
| %CheckIsBootstrapping();
|
|
|
| - InstallConstants(global.Symbol, $Array(
|
| + InstallConstants(global.Symbol, [
|
| // TODO(dslomov, caitp): Move to symbol.js when shipping
|
| - "isConcatSpreadable", symbolIsConcatSpreadable
|
| - ));
|
| + "isConcatSpreadable", symbolIsConcatSpreadable
|
| + ]);
|
| }
|
|
|
| HarmonyArrayExtendSymbolPrototype();
|
| @@ -225,17 +225,17 @@ function HarmonyArrayExtendArrayPrototype() {
|
| %FunctionSetLength(ArrayFrom, 1);
|
|
|
| // Set up non-enumerable functions on the Array object.
|
| - InstallFunctions($Array, DONT_ENUM, $Array(
|
| + InstallFunctions($Array, DONT_ENUM, [
|
| "from", ArrayFrom,
|
| "of", ArrayOf
|
| - ));
|
| + ]);
|
|
|
| // Set up the non-enumerable functions on the Array prototype object.
|
| - InstallFunctions($Array.prototype, DONT_ENUM, $Array(
|
| + InstallFunctions($Array.prototype, DONT_ENUM, [
|
| "find", ArrayFind,
|
| "findIndex", ArrayFindIndex,
|
| "fill", ArrayFill
|
| - ));
|
| + ]);
|
| }
|
|
|
| HarmonyArrayExtendArrayPrototype();
|
|
|