summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Symbol/length.js
blob: d9caf9198066adc856a537fe43feba48a38988e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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]
---*/

verifyProperty(Symbol, "length", {
  value: 0,
  writable: false,
  enumerable: false,
  configurable: true
});

reportCompare(0, 0);