Skip to content

Commit 10a2e3a

Browse files
authored
Merge pull request wangdoc#148 from Veminem/master
更正 'instanceOf' 拼写
2 parents 11d71b0 + dcd00fe commit 10a2e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/oop/prototype.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ s instanceof String // false
323323

324324
上面代码中,字符串不是`String`对象的实例(因为字符串不是对象),所以返回`false`
325325

326-
此外,对于`undefined``null``instanceOf`运算符总是返回`false`
326+
此外,对于`undefined``null``instanceof`运算符总是返回`false`
327327

328328
```javascript
329329
undefined instanceof Object // false

0 commit comments

Comments
 (0)