摘要:
学过C的都知道指针 在 Js中 的原型其实就是指针。 function A(){ this.test = function(){alert(1);}}function B(){ }function C(){ }B.prototype = new A();C.prototype = new A();v 阅读全文
摘要:
例子: function Test(){ return a; } 两种函数的调用方式 ,在返回值为 Object、Array、Function 时。没有区别 其他类型的返回值不行。 阅读全文