Skip to content

Commit

Permalink
Merge pull request #48 from pauldariye/patch-1
Browse files Browse the repository at this point in the history
Update 003-complex-data-types.md
  • Loading branch information
MrBenJ committed Jan 1, 2019
2 parents 85d5d40 + 92dd12b commit 78ccd4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/003-complex-data-types.md
Expand Up @@ -143,7 +143,7 @@ PersonMap.forEach( (key, value) => {
console.log(key, value); // => 'name', 'Sheryl', 'occupation', 'Programmer', 'id', 18
});

// Or you can use a for-in loop
// Or you can use a for-of loop
for (let [ key, value ] of PersonMap) {
console.log(key, value); // => 'name', 'Sheryl', 'occupation', 'Programmer', 'id', 18
}
Expand Down

0 comments on commit 78ccd4e

Please sign in to comment.