摘要:
1 /* 2 * 回调函数: 执行一个函数 A 的时候 有可能执行另外的函数B ,这个 B 就是回调函数 3 * call apply 4 * 可以调用其他的方法 ,并且改变 this 的指向 5 */ 6 7 var found = document.getElementById("outer"); 8 9 var myApp = {};10 myApp.color = "green";11 myApp.paint = function(node){12 node.style.color = t... 阅读全文