You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>If the interface defines an <a data-link-type="dfn" href="#dfn-indexed-property-getter" id="ref-for-dfn-indexed-property-getter-7">indexed property getter</a>,
10646
10646
then the <emu-val>Function</emu-val> object is
10647
10647
the initial value of the “forEach” data property of <a data-link-type="dfn" href="https://tc39.github.io/ecma262/#sec-well-known-intrinsic-objects">%ArrayPrototype%</a>.</p>
10648
-
<p>If the interface has a <a data-link-type="dfn" href="#dfn-pair-iterator" id="ref-for-dfn-pair-iterator-6">pair iterator</a>,
10649
-
then the <emu-val>Function</emu-val> must
10650
-
have the same behavior as one that would exist
10651
-
assuming the interface had this <a data-link-type="dfn" href="#dfn-operation" id="ref-for-dfn-operation-73">operation</a> instead of the <a data-link-type="dfn" href="#dfn-iterable-declaration" id="ref-for-dfn-iterable-declaration-12">iterable declaration</a>:</p>
10648
+
<div class="algorithm" data-algorithm="to invoke the forEach method of interfaces with indexed properties">
10649
+
<p>If the interface has a <a data-link-type="dfn" href="#dfn-pair-iterator" id="ref-for-dfn-pair-iterator-6">pair iterator</a>,
10650
+
then the <emu-val>Function</emu-val> must have the same behavior,
10651
+
when invoked with argument <var>callback</var> and optional argument <var>thisArg</var>,
10652
+
as one that would exist assuming the interface had this <a data-link-type="dfn" href="#dfn-operation" id="ref-for-dfn-operation-73">operation</a> instead of the <a data-link-type="dfn" href="#dfn-iterable-declaration" id="ref-for-dfn-iterable-declaration-12">iterable declaration</a>:</p>
0 commit comments