summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/prototype/copyWithin/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/copyWithin/name.js')
-rw-r--r--js/src/tests/test262/built-ins/Array/prototype/copyWithin/name.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/copyWithin/name.js b/js/src/tests/test262/built-ins/Array/prototype/copyWithin/name.js
index c8c6c0b5b9..75549164b3 100644
--- a/js/src/tests/test262/built-ins/Array/prototype/copyWithin/name.js
+++ b/js/src/tests/test262/built-ins/Array/prototype/copyWithin/name.js
@@ -12,13 +12,11 @@ info: |
includes: [propertyHelper.js]
---*/
-assert.sameValue(
- Array.prototype.copyWithin.name, 'copyWithin',
- 'The value of `Array.prototype.copyWithin.name` is `"copyWithin"`'
-);
-
-verifyNotEnumerable(Array.prototype.copyWithin, 'name');
-verifyNotWritable(Array.prototype.copyWithin, 'name');
-verifyConfigurable(Array.prototype.copyWithin, 'name');
+verifyProperty(Array.prototype.copyWithin, "name", {
+ value: "copyWithin",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);