Skip to content

Commit 2486b7e

Browse files
authored
Merge pull request iliakan#484 from mnedzka/patch-1
for in fix
2 parents 0c249b1 + 6a22f08 commit 2486b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/04-object-basics/01-object/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ let user = {
352352

353353
for(let key in user) {
354354
// keys
355-
alert( key ); // name, age, 30
355+
alert( key ); // name, age, isAdmin
356356
// values for the keys
357357
alert( user[key] ); // John, 30, true
358358
}

0 commit comments

Comments
 (0)