Aleksey Shvayka 0d2b3562e9 Add basic Symbol constructor tests (#1069)
* add Symbol.length test

* add Symbol.name test

* add global.Symbol test
2017-06-22 22:11:26 -03:00

19 lines
499 B
JavaScript

// 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]
---*/
assert.sameValue(Symbol.length, 0, "The value of `Symbol.length` is `0`");
verifyNotEnumerable(Symbol, "length");
verifyNotWritable(Symbol, "length");
verifyConfigurable(Symbol, "length");