proto.js (703B)
1 // |reftest| shell-option(--enable-iterator-sequencing) skip-if(!Iterator.concat||!xulRuntime.shell) -- iterator-sequencing is not enabled unconditionally, requires shell-options 2 // Copyright (C) 2024 André Bargull. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: sec-iterator.concat 7 description: > 8 The value of the [[Prototype]] internal slot of Iterator.concat is the 9 intrinsic object %FunctionPrototype%. 10 features: [iterator-sequencing] 11 ---*/ 12 13 assert.sameValue( 14 Object.getPrototypeOf(Iterator.concat), 15 Function.prototype, 16 "Object.getPrototypeOf(Iterator.concat) must return the value of Function.prototype" 17 ); 18 19 reportCompare(0, 0);