Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / Function / prototype / Symbol.hasInstance / name.js
blob13f5f41f9f8f002b61432438fd5a065055261c4e
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 19.2.3.6
5 description: >
6     The value of the name property of this function is "[Symbol.hasInstance]".
8     17 ECMAScript Standard Built-in Objects
9 features: [Symbol.hasInstance]
10 includes: [propertyHelper.js]
11 ---*/
13 assert.sameValue(
14   Function.prototype[Symbol.hasInstance].name, '[Symbol.hasInstance]'
17 verifyNotEnumerable(Function.prototype[Symbol.hasInstance], 'name');
18 verifyNotWritable(Function.prototype[Symbol.hasInstance], 'name');
19 verifyConfigurable(Function.prototype[Symbol.hasInstance], 'name');
21 reportCompare(0, 0);