Skip to content

Commit 8006d3c

Browse files
authored
Merge pull request #874 from Supernaiivi/typos
Fix English typo
2 parents a8be18d + da51ce5 commit 8006d3c

File tree

1 file changed

+1
-1
lines changed
  • 1-js/08-prototypes/05-getting-all-properties

1 file changed

+1
-1
lines changed

1-js/08-prototypes/05-getting-all-properties/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ for(let prop in rabbit) alert(prop); // jumps, then eats
4848
*/!*
4949
```
5050

51-
If that's no what we want, and we'd like to exclude inherited properties, there's a built-in method [obj.hasOwnProperty(key)](mdn:js/Object/hasOwnProperty): it returns `true` if `obj` has its own (not inherited) property named `key`.
51+
If that's not what we want, and we'd like to exclude inherited properties, there's a built-in method [obj.hasOwnProperty(key)](mdn:js/Object/hasOwnProperty): it returns `true` if `obj` has its own (not inherited) property named `key`.
5252

5353
So we can filter out inherited properties (or do something else with them):
5454

0 commit comments

Comments
 (0)