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