How to loop through array in JavaScript

Arrays
Last updated Nov 11, 2017
const people = ["John", "Nicole", "Jad"];

for (const person of people) {
  console.log(person);
}
John
Nicole
Jad