tests/auto/qml/ecmascripttests/test262/test/built-ins/Set/name.js
raw| 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: 23.2.1.1 |
| 5 | description: > |
| 6 | Set ( [ iterable ] ) |
| 7 | |
| 8 | 17 ECMAScript Standard Built-in Objects |
| 9 | |
| 10 | includes: [propertyHelper.js] |
| 11 | ---*/ |
| 12 | |
| 13 | assert.sameValue(Set.name, "Set", "The value of `Set.name` is `'Set'`"); |
| 14 | |
| 15 | verifyNotEnumerable(Set, "name"); |
| 16 | verifyNotWritable(Set, "name"); |
| 17 | verifyConfigurable(Set, "name"); |