dla Elema na liście JavaScript

var myList = ["first element", "second element", "third element"];

for (let elem in myList) {
	console.log(elem);
}
Marton