摘要: 一.匿名函数 //普通函数 function box() { //函数名是box return 'Lee'; } //匿名函数 function () { //匿名函数,会报错 return 'Lee'; } //通过表达式自我执行 (function box() { //封装成表达式 alert( 阅读全文
posted @ 2016-10-06 09:07 Maroon6 阅读(304) 评论(0) 推荐(0) 编辑