| 1 |
// Copyright (C) 2017 Robin Templeton. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
esid: sec-bigint-constructor-number-value |
| 6 |
description: BigInt.name property descriptor |
| 7 |
info: | |
| 8 |
BigInt ( value ) |
| 9 |
|
| 10 |
17 ECMAScript Standard Built-in Objects |
| 11 |
|
| 12 |
Every built-in function object, including constructors, that is not |
| 13 |
identified as an anonymous function has a name property whose value |
| 14 |
is a String. Unless otherwise specified, this value is the name that |
| 15 |
is given to the function in this specification. For functions that |
| 16 |
are specified as properties of objects, the name value is the |
| 17 |
property name string used to access the function. [...] |
| 18 |
|
| 19 |
Unless otherwise specified, the name property of a built-in function |
| 20 |
object, if it exists, has the attributes { [[Writable]]: false, |
| 21 |
[[Enumerable]]: false, [[Configurable]]: true }. |
| 22 |
includes: [propertyHelper.js] |
| 23 |
features: [BigInt] |
| 24 |
---*/ |
| 25 |
|
| 26 |
verifyProperty(BigInt, "name", { |
| 27 |
value: "BigInt", |
| 28 |
writable: false, |
| 29 |
enumerable: false, |
| 30 |
configurable: true |
| 31 |
}); |