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