how to type loop the array in javascript code example Example: how to use for loops to work with array in javascript let myArray = ["one", "two", "three", "four"];