File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -11088,10 +11088,14 @@ Note: The HTML Standard defines how a security check is performed. [[!HTML]]
11088
11088
and there is an overload with an optional argument at this position, then
11089
11089
we will choose that overload. If there is no valid overload for the type of
11090
11090
value passed in here, then we throw a {{ECMAScript/TypeError}}.
11091
- The inspection of the value at the distinguishing argument index does not have any side effects;
11092
- the only side effects that come from running the overload resolution
11093
- algorithm are those that come from converting the ECMAScript values
11094
- to IDL values.
11091
+ Generally, the inspection of the value at the distinguishing argument index does not have any
11092
+ side effects, and the only side effects in the overload resolution algorithm are the result of
11093
+ converting the ECMAScript values to IDL values.
11094
+ (An exception exists when one of the overloads has a [=sequence type=] or [=frozen array type=]
11095
+ at the distinguishing argument index.
11096
+ In this case, we attempt to get the {{@@iterator}} property to determine the appropriate
11097
+ overload, and perform the conversion of the distinguishing argument separately before continuing
11098
+ with the next step.)
11095
11099
11096
11100
At this point, we have determined which overload to use. We now
11097
11101
convert the remaining arguments, from the distinguishing argument onwards,
You can’t perform that action at this time.
0 commit comments