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