test262/test/built-ins/Symbol/name.js

17 lines
443 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: >
Symbol ( [ description ] )
includes: [propertyHelper.js]
---*/
assert.sameValue(Symbol.name, "Symbol", "The value of `Symbol.name` is `'Symbol'`");
verifyNotEnumerable(Symbol, "name");
verifyNotWritable(Symbol, "name");
verifyConfigurable(Symbol, "name");