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