箭头函数
var c = (a,b)=>{ return a+b; }
对象函数的解构
let j = {a:10,b:'156'}; var f = ({a,b="dasa"})=>{ console.log(a,b) }
数组函数的解构
let arrra = [4,,65,5,6,9]; let c= (...arg)=>{ console.log(...arg) } c(...arr)