prop-desc.js (637B)
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.for 5 description: Property descriptor 6 info: | 7 Every other data property described in clauses 18 through 26 and in Annex 8 B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, 9 [[Configurable]]: true } unless otherwise specified. 10 includes: [propertyHelper.js] 11 features: [Symbol] 12 ---*/ 13 14 assert.sameValue(typeof Symbol.for, 'function'); 15 16 verifyProperty(Symbol, 'for', { 17 writable: true, 18 enumerable: false, 19 configurable: true 20 }); 21 22 reportCompare(0, 0);