Advertisement
Albinutte

JS HM

Feb 17th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. test = [];
  2. test[0] = 23;
  3. test[1] = "hello";
  4. test[15] = 34.5;
  5. test["mamma mia!"] = 42;
  6.  
  7. console.log(test[15] == 34.5);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement