Index: test/mjsunit/es6/array-prototype-values.js |
diff --git a/test/mjsunit/es6/array-prototype-values.js b/test/mjsunit/es6/array-prototype-values.js |
index 64162c47c8445ff655f950cefe8bab50a0105201..b7c4e78e33fb383e2482eaacf8835e5a50558980 100644 |
--- a/test/mjsunit/es6/array-prototype-values.js |
+++ b/test/mjsunit/es6/array-prototype-values.js |
@@ -13,3 +13,4 @@ assertTrue(valuesDesc.configurable); |
assertTrue(valuesDesc.writable); |
assertFalse(valuesDesc.enumerable); |
assertTrue(Array.prototype[Symbol.unscopables].values); |
+assertThrows(() => new Array.prototype[Symbol.iterator], TypeError); |