diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/prop-desc.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/prototype/prop-desc.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/prop-desc.js b/js/src/tests/test262/built-ins/Array/prototype/prop-desc.js new file mode 100644 index 0000000000..5b3084aec5 --- /dev/null +++ b/js/src/tests/test262/built-ins/Array/prototype/prop-desc.js @@ -0,0 +1,22 @@ +// Copyright (C) 2017 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-array.prototype +description: > + The property descriptor of Array.prototype +info: | + 22.1.2.4 Array.prototype + + The value of Array.prototype is %ArrayPrototype%, the intrinsic Array prototype object. + + This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, + [[Configurable]]: false }. +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Array, 'prototype'); +verifyNotWritable(Array, 'prototype'); +verifyNotConfigurable(Array, 'prototype'); + +reportCompare(0, 0); |