mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 13:34:06 +03:00
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
This commit is contained in:
1 parent
237d17df20
commit
51bfad6d8f
1 file changed
+1
@@ -705,6 +705,7 @@ for (let key in mobile) {
|
||||
|
||||
```javascript
|
||||
let fruits = ["banana", "apple", "orange"];
|
||||
|
||||
for (let fruit of fruits) {
|
||||
console.log(fruit);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user