Skip to content

Instantly share code, notes, and snippets.

@ibirman
Created May 7, 2014 17:33
Show Gist options
  • Select an option

  • Save ibirman/6ee988e40f0ca5207a90 to your computer and use it in GitHub Desktop.

Select an option

Save ibirman/6ee988e40f0ca5207a90 to your computer and use it in GitHub Desktop.
Undefined vs false
var notification = new Object();
(notification.markedAsRead || false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment