javascript for loop

for ( var i = 0; i < custom_array.length; i+=1 ) {
  // do something with custom_array[i]
}

Leave a Reply

Your email address will not be published. Required fields are marked *