scrimba
Introduction to ES6+
For of Loop (Challenge)
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

For of Loop (Challenge)
AboutCommentsNotes
For of Loop (Challenge)
Expand for more info
index.js
run
preview
console
// Challenge - For Of Loop

// Using the For of Loop, iterate through the array and print into the console, a message like:
// Tom lives in Lisbon

const students = [
{ name: "John", city: "New York" },
{ name: "Peter", city: "Paris"},
{ name: "Kate", city: "Sidney" }
]
Console
/index.html
-2:33