var go=function(){ console.log("hello world"); } go(); var show = () =>{ console.log("world"); } show(); //如果箭头函数中只有一段语句可以简写 var test = () =>console.log("test"); test();