Skip to content

Commit 5ee1058

Browse files
committed
拼写错误
修正一处拼写错误
1 parent a8259ce commit 5ee1058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/zh/object/hasownproperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ JavaScript **不会**保护 `hasOwnProperty` 被非法占用,因此如果一
3535

3636
foo.hasOwnProperty('bar'); // 总是返回 false
3737

38-
// 使用其它对象的 hasOwnProperty,并将其上下为设置为foo
38+
// 使用其它对象的 hasOwnProperty,并将其上下文设置为foo
3939
({}).hasOwnProperty.call(foo, 'bar'); // true
4040

4141
###结论

0 commit comments

Comments
 (0)