摘要: 格式: obj.call(thisObj, arg1, arg2, ...); 参数为字符 obj.apply(thisObj, [arg1, arg2, ...]); 参数为数组 例一:sub函数赋值给this 例二: 点击把#content赋值给函数中的this来改变颜色和样式 hello 点击 阅读全文
posted @ 2016-11-21 12:02 歲夢灬沉浮 阅读(141) 评论(0) 推荐(0) 编辑