daily pastebin goal
1%
SHARE
TWEET

aaaa

a guest Feb 18th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. document.write("Hello World");
  2. x=3;
  3. var y=4;
  4. {
  5.     x=0;
  6.     var y=1;
  7. }
  8. //alert("x = " +x);
  9. //alert("y = " +y);
  10.  
  11. var x="Neeshan",z,a=null;
  12. //alert("type of x "+typeof x);
  13. //alert("type of a "+typeof a);
  14. //alert("type of z "+typeof z);
  15.  
  16. var car1 = new Array(3);
  17. car1[0]="Ford";
  18. car1[1]="Toyota";
  19. car1[2]="Honda";
  20.  
  21. var car2 = new Array("Ford","Toyota","Honda");
  22.  
  23. var car3 = ["Ford","Toyota","Honda"];
  24.  
  25. alert(car1[0]);
  26. alert(car2[1]);
  27. alert(car3[2]);
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