SHARE
TWEET

Untitled

a guest Jun 20th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var val1 = "New World";   //returns String
  2. var val2 = 5;             //returns Number
  3. var val3 = true;          //returns Boolean
  4. var val4 = [1,2,3];       //returns Object
  5. var val5 = null;          //returns Object (Value is null, but type is still an object)
  6. var val6;                 //returns Undefined
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top