summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js')
-rw-r--r--js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js b/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js
index 22f673c500..a992d46b6b 100644
--- a/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js
+++ b/js/src/tests/test262/built-ins/ArrayIteratorPrototype/next/length.js
@@ -25,10 +25,11 @@ features: [Symbol.iterator]
var ArrayIteratorProto = Object.getPrototypeOf([][Symbol.iterator]());
-assert.sameValue(ArrayIteratorProto.next.length, 0);
-
-verifyNotEnumerable(ArrayIteratorProto.next, "length");
-verifyNotWritable(ArrayIteratorProto.next, "length");
-verifyConfigurable(ArrayIteratorProto.next, "length");
+verifyProperty(ArrayIteratorProto.next, "length", {
+ value: 0,
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);