摘要: 1.javascript中函数有两种定义方式:函数语句定义和表达式定义//函数有定义function test(){ console.log("This is a function");}//表达式定义var f = function(a){ return Math.sqrt(a);};... 阅读全文
posted @ 2015-12-05 23:46 GoGoChad 阅读(181) 评论(0) 推荐(0) 编辑