Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dcd00fe

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

AltStyle によって変換されたページ (->オリジナル) /