let array = [1,2,3]; for(let element of array){ //iterates over each element, in some cases is necesary to use another type of for console.log(element); }