proto.js (510B)
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 The value of the [[Prototype]] internal slot of Iterator.from is the 7 intrinsic object %FunctionPrototype%. 8 features: [iterator-helpers] 9 ---*/ 10 11 assert.sameValue( 12 Object.getPrototypeOf(Iterator.from), 13 Function.prototype, 14 'Object.getPrototypeOf(Iterator.from) must return the value of Function.prototype' 15 ); 16 17 reportCompare(0, 0);