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 9cda6f7 commit cbd762aCopy full SHA for cbd762a
general-patterns/for-in-loops.html
@@ -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(variinman){
60
if(Object.prototype.hasOwnProperty.call(man,i)){// filter
61
console.log(i,":",man[i]);
0 commit comments