We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8259ce commit 54e341cCopy full SHA for 54e341c
doc/zh/object/hasownproperty.md
@@ -35,7 +35,7 @@ JavaScript **不会**保护 `hasOwnProperty` 被非法占用,因此如果一
35
36
foo.hasOwnProperty('bar'); // 总是返回 false
37
38
- // 使用其它对象的 hasOwnProperty,并将其上下为设置为foo
+ // 使用其它对象的 hasOwnProperty,并将其上下文设置为foo
39
({}).hasOwnProperty.call(foo, 'bar'); // true
40
41
###结论
0 commit comments