Skip to content

Instantly share code, notes, and snippets.

@enjalot
Created February 27, 2013 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enjalot/5049081 to your computer and use it in GitHub Desktop.
Save enjalot/5049081 to your computer and use it in GitHub Desktop.
a = 5; typeof(a);
b = "hi"; typeof(b);
c = {"key":5}; typeof(c);
//an array is an object with length
d = [1,2,3]; typeof(d);
d instanceof Array;
var e;
e == undefined;
e == null
typeof(e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment