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