loop over a list javascript code example Example: iterate through list javascript const array = ["hello", "world"]; for (item of array) { //DO THIS }