1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge pull request #39 from bit3725/patch-1

Update function.md
This commit is contained in:
Ruan YiFeng 2015-03-15 09:14:09 +08:00
commit 60b767cae5

View File

@ -427,7 +427,7 @@ var d = new Date(...dateFields);
上面代码从数据库取出一行数据通过扩展运算符直接将其传入构造函数Date。
除了展数组,扩展运算符还可以将一个数值扩展成数
除了展数组,扩展运算符还可以将一个数值扩展成数
```javascript