untuk elem dalam daftar javascript

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

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