Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Corrected a typing error.

本省 => 本身
  • Loading branch information...
commit 213a3db7c161aab8f8ec560768c8365ab8b183ee 1 parent 5c5295d
@agalwood authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/zh/types/instanceof.md
View
2  doc/zh/types/instanceof.md
@@ -12,7 +12,7 @@
new Bar() instanceof Bar; // true
new Bar() instanceof Foo; // true
- // 如果仅仅设置 Bar.prototype 为函数 Foo 本省,而不是 Foo 构造函数的一个实例
+ // 如果仅仅设置 Bar.prototype 为函数 Foo 本身,而不是 Foo 构造函数的一个实例
Bar.prototype = Foo;
new Bar() instanceof Foo; // false
Please sign in to comment.
Something went wrong with that request. Please try again.