摘要:
摘自http://www.w3school.com.cn Call()方法 call() 方法是与经典的对象冒充方法最相似的方法。它的第一个参数用作 this 的对象。其他参数都直接传递给函数自身。例如: 1: function sayColor(sPrefix,sSuffix) { 2: alert(sPrefix + this.color + sSuffix); 3: }; 4: 5: va... 阅读全文
posted @ 2011-05-28 03:07
FrankFang
阅读(345)
评论(0)
推荐(0)

浙公网安备 33010602011771号