800px' console.log("this fires twice in firefox, and sometimes in chrometoo"); console.log("this fires twice in firefox, and sometimes in chrome too");在IE-它一直在触发两个回调函数一次,就像我想要的。在Firefox中,它
constructor(){}}
new notworking.constructor();Uncaught TypeError: notworking.constructor is not a constructor
在Firefox和Chrome上进行了测试。在火狐DevTools中,对象本身看起来是一样的。构造函数方法