trentjs

forLoop

Oct 20th, 2020 (edited)
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var myArray = ["zero", "one", "two"]
  2.  
  3. for (i = 0; i < myArray.length; i++) {
  4.   console.log(myArray[i]);
  5. }
Add Comment
Please, Sign In to add comment