摘要: ``` function f(...args){ console.log(args); } f(1,2,3,4,5) ``` ![](https://img2018.cnblogs.com/blog/1312420/201901/1312420-20190113004302024-1350132390.png) ``` [...args] = [1,2,3,4] function f... 阅读全文
posted @ 2019-01-13 00:43 mmaotai 阅读(239) 评论(0) 推荐(0) 编辑