mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
Update array.md
Array.prototyp.slice 改为 Array.prototype.slice
This commit is contained in:
parent
f80ff36bc0
commit
fe58145322
@ -31,7 +31,7 @@ Array.from({ 0: "a", 1: "b", 2: "c", length: 3 });
|
||||
// [ "a", "b" , "c" ]
|
||||
```
|
||||
|
||||
对于还没有部署该方法的浏览器,可以用Array.prototyp.slice方法替代。
|
||||
对于还没有部署该方法的浏览器,可以用Array.prototype.slice方法替代。
|
||||
|
||||
```javascript
|
||||
const toArray = (() =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user