Jeremy Vinding

Blogging for me, not for you!

javascript

true or false

No Comments

The interesting comparisons from Douglas Crockford’s book when he’s recommending “===” instead of “==”:

'' == '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

The Site

My new site

No Comments

The goal of this site will be to provide a nice, convient place for me to search the next time I think to my self “where did I see that article on (whatever), again?”
Basically it’ll just be a stream of random links with short descriptions to help with searching.

Unless otherwise noted, all content on this site is licensed under a Creative Commons by-nc-nd 3.0 License.