1、普通函数的定义,用箭头函数表示,DemoFunction是函数名,括号表示参数,大括号表示函数体的内容。 let DemoFunc = (param) => { console.log(param)}2、map函数在es6中的写法,同样也是箭头函数,e表示map出来的元素,key表示当前