From 51bfad6d8fe8aa1190d1fbe629dced2160e05e9c Mon Sep 17 00:00:00 2001 From: KOD3X Date: Thu, 3 Mar 2022 12:57:12 +0100 Subject: [PATCH] For of concordance Sorry, but to be consistent with the rest of the examples I think it is necessary to add a space between the list and the loop. Thanks --- javascript.md | 1 + 1 file changed, 1 insertion(+) diff --git a/javascript.md b/javascript.md index 4093071..3cbddf0 100644 --- a/javascript.md +++ b/javascript.md @@ -705,6 +705,7 @@ for (let key in mobile) { ```javascript let fruits = ["banana", "apple", "orange"]; + for (let fruit of fruits) { console.log(fruit); }