Skip to content

Commit 3a86bd3

Browse files
committed
Fixed issue BonsaiDen#56
1 parent 00821bb commit 3a86bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/en/object/hasownproperty.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ necessary to use an *external* `hasOwnProperty` in order to get correct results.
4141

4242
foo.hasOwnProperty('bar'); // always returns false
4343

44-
// Use another hasOwnProperty and call it with 'this' set to foo
45-
{}.hasOwnProperty.call(foo, 'bar'); // true
44+
// Use another Object's hasOwnProperty and call it with 'this' set to foo
45+
({}).hasOwnProperty.call(foo, 'bar'); // true
4646

4747
### In Conclusion
4848

0 commit comments

Comments
 (0)