http://qs321.pair.com?node_id=797610


in reply to Re: irritation makes perls
in thread irritation makes perls

Turns out you shouldn't use == in javascript, JS doesn't have warnings/strict (although it will have strict in the future)
'' == '0' // false 0 == '' // true 0 == '0' // true false == 'false' // false false == '0' // true false == undefined // false false == null // false null == undefined // true " \t\r\n " == 0 // true