摘要: 函数声明 function f1(){ console.log("我是一个函数") }; f1(); 函数表达式(多用函数表达式,少用函数声明,函数声明在ie8有问题) var f2=function(){ console.log("我也是一个函数") }; f2(); 或箭头函数方式 let f2 阅读全文
posted @ 2019-08-07 15:05 huihuihero 阅读(117) 评论(0) 推荐(0) 编辑