2018-10-16 17:04:12   Visit  1329
> console.log(...[1,2,3])
< 1 2 3 
> console.log(...[1,2,[4,5],3])
< 1 2 (2)?[4, 5] 3
> function a(e,...args){console.log(e,args)}
> a(1,2,4,5)
< 1 (3)?[2, 4, 5]
> function f(x,y,z){console.log(x,y,z)}
> f(...[1,2,3])
< 1 2 3
©2017 Leechg.com