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