| Index: src/v8natives.js
|
| diff --git a/src/v8natives.js b/src/v8natives.js
|
| index 3cba466494233df2bac910ffec5561b99fa6bf72..72d6a8464f5c48d28f328486fdac22e65d79daea 100644
|
| --- a/src/v8natives.js
|
| +++ b/src/v8natives.js
|
| @@ -1883,7 +1883,7 @@ SetUpFunction();
|
| // 7.4.1 GetIterator ( obj, method )
|
| function GetIterator(obj, method) {
|
| if (IS_UNDEFINED(method)) {
|
| - method = ToObject(obj)[symbolIterator];
|
| + method = obj[symbolIterator];
|
| }
|
| if (!IS_SPEC_FUNCTION(method)) {
|
| throw MakeTypeError('not_iterable', [obj]);
|
|
|