Skip to content

Commit 213a3db

Browse files
committed
Corrected a typing error.
本省 => 本身
1 parent 5c5295d commit 213a3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/zh/types/instanceof.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
new Bar() instanceof Bar; // true
1313
new Bar() instanceof Foo; // true
1414

15-
// 如果仅仅设置 Bar.prototype 为函数 Foo 本省,而不是 Foo 构造函数的一个实例
15+
// 如果仅仅设置 Bar.prototype 为函数 Foo 本身,而不是 Foo 构造函数的一个实例
1616
Bar.prototype = Foo;
1717
new Bar() instanceof Foo; // false
1818

0 commit comments

Comments
 (0)