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