var Box=function(){} Box.prototype={ close:function(){ removeChild..... } }var a=new Box();var b=new Box();
效果是都可以删掉,但是只有最后一个不报错,前面都会报错,不知道为啥
js.js:30 Uncaught TypeError: Cannot read property 'removeChild' of null
RISEBY
相关分类