We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb7570 commit da1a3beCopy full SHA for da1a3be
general-patterns/for-in-loops.html
@@ -34,7 +34,7 @@
34
* result in the console
35
* hands : 2
36
* legs : 2
37
- * hands : 1
+ * heads : 1
38
* clone: function()
39
*/
40
@@ -55,7 +55,7 @@
55
56
57
// preferred 2
58
- // 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`
59
for (var i in man) {
60
if (Object.prototype.hasOwnProperty.call(man, i)) { // filter
61
console.log(i, ":", man[i]);
0 commit comments