Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Symbol/length.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 Properties of the Symbol Constructor
8
9 Besides the length property (whose value is 0)
10
11 includes: [propertyHelper.js]
12 features: [Symbol]
13 ---*/
14
15 assert.sameValue(Symbol.length, 0, "The value of `Symbol.length` is `0`");
16
17 verifyNotEnumerable(Symbol, "length");
18 verifyNotWritable(Symbol, "length");
19 verifyConfigurable(Symbol, "length");