fix typos

This commit is contained in:
qianguyihao
2020-08-24 10:14:32 +08:00
parent 5ae9416e6f
commit fc6cedde18
11 changed files with 16 additions and 16 deletions

View File

@@ -317,7 +317,7 @@ result5: [];
```javascript
// 方式1
array = Array.prototye.slice.call(arrayLike);
array = Array.prototype.slice.call(arrayLike);
// 方式2
array = [].slice.call(arrayLike);

View File

@@ -48,7 +48,7 @@
![](http://img.smyhvae.com/20180306_1633.png)
上图中发现数组对象函数也有构造函数它们的构造函数是ArrayObjectfuntion实际开发中都推荐前面的书写方式
上图中发现数组对象函数也有构造函数它们的构造函数是ArrayObjectfunction实际开发中都推荐前面的书写方式
## 原型规则