News for hackers. Stuff that matters.
Re:No ifs...alternatives to statement branching in JavaScript by rue on Friday August 06, 2010 @07:14PM (#1582607)
The first line is perfectly fine to me, I read it "event is either given event or event from the window".

The second part is convoluted because of poor responsibility handling: ideally this function would never be called without some event present.

There are no comments on this comment yet.