mirror of
https://github.com/Fechin/reference.git
synced 2026-11-22 14:01:45 +03:00
change array name
change array name
This commit is contained in:
1 parent
2363f54055
commit
78c0e312f8
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