Index: test/mjsunit/es6/collections.js |
diff --git a/test/mjsunit/es6/collections.js b/test/mjsunit/es6/collections.js |
index 7f8b4a5feba1125fd22596486bdae07c2571e989..a66301462319befb51ec30a1ec04731d69b29ac7 100644 |
--- a/test/mjsunit/es6/collections.js |
+++ b/test/mjsunit/es6/collections.js |
@@ -1190,7 +1190,7 @@ function TestSetConstructorIterableValue(ctor) { |
// Strict mode is required to prevent implicit wrapping in the getter. |
Object.defineProperty(Number.prototype, Symbol.iterator, { |
get: function() { |
- assertEquals('object', typeof this); |
+ assertEquals('number', typeof this); |
return function() { |
assertEquals('number', typeof this); |
return oneAndTwo.keys(); |
@@ -1381,7 +1381,7 @@ function TestMapConstructorIterableValue(ctor) { |
// Strict mode is required to prevent implicit wrapping in the getter. |
Object.defineProperty(Number.prototype, Symbol.iterator, { |
get: function() { |
- assertEquals('object', typeof this); |
+ assertEquals('number', typeof this); |
return function() { |
assertEquals('number', typeof this); |
return oneAndTwo.entries(); |