Quick actions

cmd+k|ctrl+k

Navigation

Languages

for of loop

Snippet info

Language

JavaScript

Visibility

public

Author

ibank

Created

2020-09-04T01:43:26Z

Updated

2020-09-04T01:55:11Z

let myArray = ["Harry", "Ron", "Hermione", "Tom"];
 
for(const arrayItem of myArray) {
    console.log(arrayItem)
}
INFO