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 00821bb commit 3a86bd3Copy full SHA for 3a86bd3
doc/en/object/hasownproperty.md
@@ -41,8 +41,8 @@ necessary to use an *external* `hasOwnProperty` in order to get correct results.
41
42
foo.hasOwnProperty('bar'); // always returns false
43
44
- // Use another hasOwnProperty and call it with 'this' set to foo
45
- {}.hasOwnProperty.call(foo, 'bar'); // true
+ // Use another Object's hasOwnProperty and call it with 'this' set to foo
+ ({}).hasOwnProperty.call(foo, 'bar'); // true
46
47
### In Conclusion
48
0 commit comments