diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Symbol/hasInstance/prop-desc.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Symbol/hasInstance/prop-desc.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Symbol/hasInstance/prop-desc.js b/js/src/tests/test262/built-ins/Symbol/hasInstance/prop-desc.js new file mode 100644 index 0000000000..94306fe5bc --- /dev/null +++ b/js/src/tests/test262/built-ins/Symbol/hasInstance/prop-desc.js @@ -0,0 +1,18 @@ +// Copyright (C) 2015 the V8 project authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +es6id: 19.4.2.2 +description: Property descriptor +info: | + This property has the attributes { [[Writable]]: false, [[Enumerable]]: + false, [[Configurable]]: false }. +includes: [propertyHelper.js] +features: [Symbol.hasInstance] +---*/ + +assert.sameValue(typeof Symbol.hasInstance, 'symbol'); +verifyNotEnumerable(Symbol, 'hasInstance'); +verifyNotWritable(Symbol, 'hasInstance'); +verifyNotConfigurable(Symbol, 'hasInstance'); + +reportCompare(0, 0); |