diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/prop-desc.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/prop-desc.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/prop-desc.js b/js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/prop-desc.js new file mode 100644 index 0000000000..0d554345ef --- /dev/null +++ b/js/src/tests/test262/built-ins/Array/prototype/Symbol.unscopables/prop-desc.js @@ -0,0 +1,18 @@ +// Copyright (C) 2015 Mike Pennisi. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +esid: sec-array.prototype-@@unscopables +description: > + Property descriptor for initial value of `Symbol.unscopables` property +info: | + This property has the attributes { [[Writable]]: false, [[Enumerable]]: + false, [[Configurable]]: true }. +includes: [propertyHelper.js] +features: [Symbol.unscopables] +---*/ + +verifyNotEnumerable(Array.prototype, Symbol.unscopables); +verifyNotWritable(Array.prototype, Symbol.unscopables); +verifyConfigurable(Array.prototype, Symbol.unscopables); + +reportCompare(0, 0); |