length.js (662B)
1 // Copyright (C) 2020 Rick Waldron. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 /*--- 4 esid: sec-iterator.from 5 description: > 6 Iterator.from has a "length" property whose value is 1. 7 info: | 8 ECMAScript Standard Built-in Objects 9 10 Unless otherwise specified, the length property of a built-in 11 Function object has the attributes { [[Writable]]: false, [[Enumerable]]: 12 false, [[Configurable]]: true }. 13 features: [iterator-helpers] 14 includes: [propertyHelper.js] 15 ---*/ 16 17 verifyProperty(Iterator.from, 'length', { 18 value: 1, 19 writable: false, 20 enumerable: false, 21 configurable: true, 22 }); 23 24 reportCompare(0, 0);