摘要:
函数关键字(function)语句: function fn(x){ alert(x); } 函数字面量(Function Literals): var fn = function(x){ alert(x); } Function()构造函数: var fn= new Function( 'x',' 阅读全文
posted @ 2017-12-15 16:50
LancelotSeven
阅读(449)
评论(0)
推荐(0)
摘要:
come from javascriptcookbook 使用call()将两个对象连接起来。如果想在两个对象之间传递参数列表,则使用apply()。 阅读全文
posted @ 2017-12-15 15:58
LancelotSeven
阅读(111)
评论(0)
推荐(0)

浙公网安备 33010602011771号