| Index: src/array-iterator.js
|
| diff --git a/src/array-iterator.js b/src/array-iterator.js
|
| index 8efabe50e325140cb39f3c43879803554462926d..8e2c1ba836c93c6580876fd36cc5b7d9ec13e1fa 100644
|
| --- a/src/array-iterator.js
|
| +++ b/src/array-iterator.js
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +var $iteratorCreateResultObject;
|
| var $arrayValues;
|
|
|
| (function(global, utils) {
|
| @@ -123,16 +124,16 @@
|
| %FunctionSetPrototype(ArrayIterator, {__proto__: $iteratorPrototype});
|
| %FunctionSetInstanceClassName(ArrayIterator, 'Array Iterator');
|
|
|
| -utils.InstallFunctions(ArrayIterator.prototype, DONT_ENUM, [
|
| +$installFunctions(ArrayIterator.prototype, DONT_ENUM, [
|
| 'next', ArrayIteratorNext
|
| ]);
|
| -utils.SetFunctionName(ArrayIteratorIterator, symbolIterator);
|
| +$setFunctionName(ArrayIteratorIterator, symbolIterator);
|
| %AddNamedProperty(ArrayIterator.prototype, symbolIterator,
|
| ArrayIteratorIterator, DONT_ENUM);
|
| %AddNamedProperty(ArrayIterator.prototype, symbolToStringTag,
|
| "Array Iterator", READ_ONLY | DONT_ENUM);
|
|
|
| -utils.InstallFunctions(GlobalArray.prototype, DONT_ENUM, [
|
| +$installFunctions(GlobalArray.prototype, DONT_ENUM, [
|
| // No 'values' since it breaks webcompat: http://crbug.com/409858
|
| 'entries', ArrayEntries,
|
| 'keys', ArrayKeys
|
| @@ -151,13 +152,7 @@
|
|
|
| TYPED_ARRAYS(EXTEND_TYPED_ARRAY)
|
|
|
| -// -------------------------------------------------------------------
|
| -// Exports
|
| -
|
| -utils.Export(function(to) {
|
| - to.ArrayIteratorCreateResultObject = CreateIteratorResultObject;
|
| -});
|
| -
|
| +$iteratorCreateResultObject = CreateIteratorResultObject;
|
| $arrayValues = ArrayValues;
|
|
|
| })
|
|
|