Skip to content

Commit 1914cac

Browse files
committed
Merge pull request BonsaiDen#142 from agalwood/master
Corrected a typing error in zh doc
2 parents 4027cbb + 213a3db commit 1914cac

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)