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