summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/prototype/map/length.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/map/length.js')
-rw-r--r--js/src/tests/test262/built-ins/Array/prototype/map/length.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/map/length.js b/js/src/tests/test262/built-ins/Array/prototype/map/length.js
index f0402be9c5..9eacb86642 100644
--- a/js/src/tests/test262/built-ins/Array/prototype/map/length.js
+++ b/js/src/tests/test262/built-ins/Array/prototype/map/length.js
@@ -21,10 +21,11 @@ info: |
includes: [propertyHelper.js]
---*/
-assert.sameValue(Array.prototype.map.length, 1);
-
-verifyNotEnumerable(Array.prototype.map, 'length');
-verifyNotWritable(Array.prototype.map, 'length');
-verifyConfigurable(Array.prototype.map, 'length');
+verifyProperty(Array.prototype.map, "length", {
+ value: 1,
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);