• RSS
  • Blog
  • Archives
  • Projects
  • About
  • Contact

JavaScript Falsy Values

Aug 18th, 2011

Value Type
0 Number
NaN (not a number) Number
” String
false Boolean
null Object
undefined Undefined

Table taken from Douglas Crockford’s JavaScript: The Good Parts

Undefined

Undefined is the absence of a value, not an empty value.

Posted by Richard Baker Aug 18th, 2011 JavaScript

Tweet

« JavaScript double equal vs. triple equal Kentico content slider with cropped thumbnails »

Latest Tweets

  • Status updating...
Follow @rwbaker

My Pinboard

    Fetching linkroll...

My Pinboard Bookmarks »

Github Repos

  • Status updating...
@rwbaker on Github

Recent Posts

  • Installing Rails
  • 2011: Year in Review
  • Boycotting GoDaddy
  • Arguments vs Arrays
  • Site Changes

On Delicious (archived)

My Delicious Bookmarks »

Copyright © 2012 - Richard Baker - Powered by Jekyll & Octopress