mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
Update array.md
This commit is contained in:
parent
d873e7b91d
commit
7cc9aefdd6
@ -150,7 +150,7 @@ function countSymbols(string) {
|
||||
|
||||
`Array.of`方法用于将一组值,转换为数组。
|
||||
|
||||
```javaScript
|
||||
```javascript
|
||||
Array.of(3, 11, 8) // [3,11,8]
|
||||
Array.of(3) // [3]
|
||||
Array.of(3).length // 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user