для Elem in List javaScript
var myList = ["first element", "second element", "third element"];
for (let elem in myList) {
console.log(elem);
}
Marton
var myList = ["first element", "second element", "third element"];
for (let elem in myList) {
console.log(elem);
}