2016年3月2日
摘要: 一: return 表达式 作用是:结束函数执行,并将“表达式”最为结果返回给调用函数。 var test = function (){ var a = 0; if(a){ console.log(a); return false; }else{ console.log(a); }; console 阅读全文
posted @ 2016-03-02 17:24 ranyingxia 阅读(3129) 评论(0) 推荐(0)