diff --git a/ebook/07_iterables-and-looping.md b/ebook/07_iterables-and-looping.md index 4d876b3..bb08146 100644 --- a/ebook/07_iterables-and-looping.md +++ b/ebook/07_iterables-and-looping.md @@ -126,7 +126,7 @@ const fruit = ["apple","banana", "orange"]; fruit.eat = "gnam gnam"; for (const prop of fruit){ - console.log(fruit); + console.log(prop); } // apple // banana