Index: src/harmony-array-includes.js |
diff --git a/src/harmony-array-includes.js b/src/harmony-array-includes.js |
index d1a779042135b4d586031ea091b39bc6196078bf..d6099bd739733e0690658fabf0f4557f58bc7dae 100644 |
--- a/src/harmony-array-includes.js |
+++ b/src/harmony-array-includes.js |
@@ -53,9 +53,9 @@ function HarmonyArrayIncludesExtendArrayPrototype() { |
%FunctionSetLength(ArrayIncludes, 1); |
// Set up the non-enumerable functions on the Array prototype object. |
- InstallFunctions($Array.prototype, DONT_ENUM, $Array( |
+ InstallFunctions($Array.prototype, DONT_ENUM, [ |
"includes", ArrayIncludes |
- )); |
+ ]); |
} |
HarmonyArrayIncludesExtendArrayPrototype(); |