diff --git a/index.bs b/index.bs index 4910c553..a3600b25 100644 --- a/index.bs +++ b/index.bs @@ -3467,7 +3467,7 @@ the following algorithm returns true. - + (c) ● dictionary-like @@ -3505,6 +3505,16 @@ the following algorithm returns true. a separate restriction on their use in overloading below. Please also note the advice about using unions of these types. + 1. A [=callback function=] that does not have + [{{LegacyTreatNonObjectAsNull}}] extended attribute is + distinguishable from a type in the dictionary-like category. +
+ For example, when converting an ECMAScript value to [=union + type=] which includes a [=callback function=] and a + dictionary-like type, if the value is [=ECMAScript/callable=], + then it is converted to a [=callback function=]. Otherwise, it is + converted to a dictionary-like type. +