Re: removeEventListener with only one passed parameter...

On 6/10/14, 10:04 AM, Domenic Denicola wrote:
> I'm saying that your option 2 is better than your options 3, 4, or 5, as in normal JavaScript semantics null is not a default-triggerer or other type of special case.

Ah, I see.  I guess that depends on the API and where you expect people 
to get the things they're passing in and which cases you want to throw 
as opposed to doing something else...

-Boris

Received on Tuesday, 10 June 2014 14:23:44 UTC