| Index: src/array.js
|
| diff --git a/src/array.js b/src/array.js
|
| index 60a6834198bc421b8c41c076696006680c8b82b6..cf99aceb699de5c1de52f66510f7b07f6048ba7b 100644
|
| --- a/src/array.js
|
| +++ b/src/array.js
|
| @@ -1471,6 +1471,20 @@ function SetUpArray() {
|
| // object.
|
| %AddNamedProperty($Array.prototype, "constructor", $Array, DONT_ENUM);
|
|
|
| + // Set up unscopable properties on the Array.prototype object.
|
| + var unscopables = {
|
| + __proto__: null,
|
| + copyWithin: true,
|
| + entries: true,
|
| + fill: true,
|
| + find: true,
|
| + findIndex: true,
|
| + keys: true,
|
| + values: true,
|
| + };
|
| + %AddNamedProperty($Array.prototype, symbolUnscopables, unscopables,
|
| + DONT_ENUM | READ_ONLY);
|
| +
|
| // Set up non-enumerable functions on the Array object.
|
| InstallFunctions($Array, DONT_ENUM, $Array(
|
| "isArray", ArrayIsArray
|
|
|