📅  最后修改于: 2022-03-11 15:03:18.399000             🧑  作者: Mango
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);
}