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