Re: Promises "if not omitted" language

On 7/22/13 12:14 PM, Domenic Denicola wrote:
> FWIW I think there are two coherent choices here: `undefined`/function only, or anything allowed, with non-functions triggering the default behavior.

There's a third choice: undefined and both null trigger default 
behavior, functions get called, anything else is disallowed.

Or is that what you mean by the "antipattern that DOM specs in 
particular have perpetuated"?

-Boris

Received on Monday, 22 July 2013 16:40:24 UTC