diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/prototype/forEach/length.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/forEach/length.js b/js/src/tests/test262/built-ins/Array/prototype/forEach/length.js index 8ca4a6185e..d9b2541122 100644 --- a/js/src/tests/test262/built-ins/Array/prototype/forEach/length.js +++ b/js/src/tests/test262/built-ins/Array/prototype/forEach/length.js @@ -23,10 +23,11 @@ info: | includes: [propertyHelper.js] ---*/ -assert.sameValue(Array.prototype.forEach.length, 1); - -verifyNotEnumerable(Array.prototype.forEach, 'length'); -verifyNotWritable(Array.prototype.forEach, 'length'); -verifyConfigurable(Array.prototype.forEach, 'length'); +verifyProperty(Array.prototype.forEach, "length", { + value: 1, + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); |