Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocoelho committed Jul 26, 2013
1 parent 9cda6f7 commit cbd762a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general-patterns/for-in-loops.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@


// preferred 2
// benefit is you can avoid naming collisions is case the `man` object has redefined `hasOwnProperty`
// benefit is you can avoid naming collisions in case the `man` object has redefined `hasOwnProperty`
for (var i in man) {
if (Object.prototype.hasOwnProperty.call(man, i)) { // filter
console.log(i, ":", man[i]);
Expand Down

0 comments on commit cbd762a

Please sign in to comment.