1
0
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:
yuwei 2016-01-06 13:36:08 +08:00
parent d873e7b91d
commit 7cc9aefdd6

View File

@ -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