Skip to content

Commit e142edf

Browse files
committed
fix typo [BonsaiDen#125]
1 parent 4ace578 commit e142edf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/en/object/hasownproperty.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ necessary to use an *external* `hasOwnProperty` to get correct results.
4444
// Use another Object's hasOwnProperty and call it with 'this' set to foo
4545
({}).hasOwnProperty.call(foo, 'bar'); // true
4646

47-
// It's also possible to use the hasOwnProperty property from the Object property for this purpose
47+
// It's also possible to use hasOwnProperty from the Object
48+
// prototype for this purpose
4849
Object.prototype.hasOwnProperty.call(foo, 'bar'); // true
4950

5051

0 commit comments

Comments
 (0)