File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -3467,7 +3467,7 @@ the following algorithm returns <i>true</i>.
3467
3467
<td class="belowdiagonal">
3468
3468
<td class="belowdiagonal">
3469
3469
<td>
3470
- <td>
3470
+ <td>(c)
3471
3471
<td>●
3472
3472
<tr>
3473
3473
<th>dictionary-like
@@ -3505,6 +3505,16 @@ the following algorithm returns <i>true</i>.
3505
3505
<a href="#limit-bigint-numeric-overloading">a separate restriction on their use in
3506
3506
overloading</a> below. Please also note <a href="#limit-bigint-numeric-unions">the
3507
3507
advice about using unions of these types</a>.
3508
+ 1. A [=callback function=] that does not have
3509
+ [{{LegacyTreatNonObjectAsNull}}] extended attribute is
3510
+ distinguishable from a type in the dictionary-like category.
3511
+ <div class="note">
3512
+ For example, when converting an ECMAScript value to [=union
3513
+ type=] which includes a [=callback function=] and a
3514
+ dictionary-like type, if the value is [=ECMAScript/callable=],
3515
+ then it is converted to a [=callback function=]. Otherwise, it is
3516
+ converted to a dictionary-like type.
3517
+ </div>
3508
3518
</ol>
3509
3519
3510
3520
<div class="example" id="example-distinguishability-diff-types">
You can’t perform that action at this time.
0 commit comments