mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
1 file changed
+1
-1
+1
-1
@@ -694,7 +694,7 @@ for (let i = 0; i < 2; i += 1) {
|
||||
### for...in loop
|
||||
|
||||
```javascript
|
||||
let dic = {brand: 'Apple', model: ''};
|
||||
let mobile = {brand: 'Apple', model: ''};
|
||||
|
||||
for (let key in mobile) {
|
||||
console.log(`${key}: ${mobile[key]}`);
|
||||
|
||||
Reference in new issue
Block a user