RE: Arrays in JavaScript

You are viewing a single comment's thread from:

Arrays in JavaScript

in javascript •  5 years ago 

You can also loop over your array like so...

for (var i in myArray) {
    console.log(myArray[i]);
  }
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  5 years ago (edited)

Thanks for advice!