| 1 |
// Copyright (C) 2016 the V8 project authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
/*--- |
| 4 |
esid: sec-symbol.keyfor |
| 5 |
es6id: 19.4.2.5 |
| 6 |
description: Property descriptor |
| 7 |
info: | |
| 8 |
Every other data property described in clauses 18 through 26 and in Annex |
| 9 |
B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, |
| 10 |
[[Configurable]]: true } unless otherwise specified. |
| 11 |
includes: [propertyHelper.js] |
| 12 |
features: [Symbol] |
| 13 |
---*/ |
| 14 |
|
| 15 |
assert.sameValue(typeof Symbol.keyFor, 'function'); |
| 16 |
|
| 17 |
verifyNotEnumerable(Symbol, 'keyFor'); |
| 18 |
verifyWritable(Symbol, 'keyFor'); |
| 19 |
verifyConfigurable(Symbol, 'keyFor'); |