Skip to content

Instantly share code, notes, and snippets.

@ahmadajmi
Created March 29, 2011 12:03
Show Gist options
  • Save ahmadajmi/892228 to your computer and use it in GitHub Desktop.
Save ahmadajmi/892228 to your computer and use it in GitHub Desktop.
Numbers In Javascript
var foo = 12; // return 12
var foo = NaN;
foo; // return NaN
typeof foo; // return "number"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment