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

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

assert.sameValue(Symbol.name, "Symbol", "The value of `Symbol.name` is `'Symbol'`");

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

reportCompare(0, 0);