News for hackers. Stuff that matters.
Re:No-Bullshit Guide to Detecting Everything in HTML5 by gjm11 on Friday May 14, 2010 @07:37AM (#1347097)
Canonicalization, so that e.g. null and undefined turn into false and ordinary values (e.g. functions, arrays, numbers, objects) turn into true.

Try putting things like these into the address bar of your browser:

  javascript:alert(!!null)
  javascript:alert(!!undefined)
  javascript:alert(!!{})
  javascript:alert(!!Math.floor)

There are no comments on this comment yet.