name.js (1066B)
1 // Copyright (C) 2019 Leo Balter. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-weak-ref-target 6 description: WeakRef.name property descriptor 7 info: | 8 WeakRef ( value ) 9 10 17 ECMAScript Standard Built-in Objects 11 12 Every built-in function object, including constructors, that is not 13 identified as an anonymous function has a name property whose value 14 is a String. Unless otherwise specified, this value is the name that 15 is given to the function in this specification. For functions that 16 are specified as properties of objects, the name value is the 17 property name string used to access the function. [...] 18 19 Unless otherwise specified, the name property of a built-in function 20 object, if it exists, has the attributes { [[Writable]]: false, 21 [[Enumerable]]: false, [[Configurable]]: true }. 22 includes: [propertyHelper.js] 23 features: [WeakRef] 24 ---*/ 25 26 verifyProperty(WeakRef, 'name', { 27 value: 'WeakRef', 28 writable: false, 29 enumerable: false, 30 configurable: true 31 }); 32 33 reportCompare(0, 0);