Array methods of fundementals 2

What will be printed on the computer screen with this?

1 Like

It’s like

Code - click on the arrow

for (let shoe of shoes) {
console.log(shoe); - code in the function
}

It will print out

text - click on the arrow

sneakers
sandals
boots

Hope you get how .forEach() works now!

-Lawrence

1 Like

Am more confused now.