2016年3月24日
摘要: 在javascript中,在定义使用一个函数的时候,通常有以下两种写法: 1)函数定义表达式 var out_put1 = function(str) { console.log('Your string is ' + str); } 2)函数声明 function out_put2(str) { 阅读全文
posted @ 2016-03-24 13:50 可乐不加冰Litb 阅读(154) 评论(0) 推荐(0)