name.js (990B)
1 // Copyright (C) 2022 Igalia, S.L. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-array.fromasync 6 description: Value and property descriptor of Array.fromAsync.name 7 info: | 8 Every built-in function object, including constructors, has a *"name"* 9 property whose value is a String. Unless otherwise specified, this value is 10 the name that is given to the function in this specification. [...] 11 For functions that are specified as properties of objects, the name value is 12 the property name string used to access the function. 13 14 Unless otherwise specified, the *"name"* property of a built-in function 15 object has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, 16 [[Configurable]]: true }. 17 includes: [propertyHelper.js] 18 features: [Array.fromAsync] 19 ---*/ 20 21 verifyProperty(Array.fromAsync, "name", { 22 value: "fromAsync", 23 writable: false, 24 enumerable: false, 25 configurable: true, 26 }); 27 28 reportCompare(0, 0);