tests/auto/qml/ecmascripttests/test262/test/built-ins/Symbol/name.js
raw| 1 | // Copyright (C) 2017 Aleksey Shvayka. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | esid: sec-symbol-constructor |
| 6 | description: > |
| 7 | Symbol ( [ description ] ) |
| 8 | |
| 9 | includes: [propertyHelper.js] |
| 10 | features: [Symbol] |
| 11 | ---*/ |
| 12 | |
| 13 | assert.sameValue(Symbol.name, "Symbol", "The value of `Symbol.name` is `'Symbol'`"); |
| 14 | |
| 15 | verifyNotEnumerable(Symbol, "name"); |
| 16 | verifyNotWritable(Symbol, "name"); |
| 17 | verifyConfigurable(Symbol, "name"); |