summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Symbol/length.js
blob: f50c96667d5f66099f66500899dd267ebf4dea77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2017 Aleksey Shvayka. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-symbol-constructor
description: >
  Properties of the Symbol Constructor

  Besides the length property (whose value is 0)

includes: [propertyHelper.js]
features: [Symbol]
---*/

assert.sameValue(Symbol.length, 0, "The value of `Symbol.length` is `0`");

verifyNotEnumerable(Symbol, "length");
verifyNotWritable(Symbol, "length");
verifyConfigurable(Symbol, "length");

reportCompare(0, 0);