Skip to content

Commit dcd00fe

Browse files
Vincent HyVincent Hy
authored andcommitted
更正 'instanceOf' 拼写
1 parent 11d71b0 commit dcd00fe

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)