我使用以下函数来创建新对象。然而,我的一个基类现在被定义为从另一个基类继承 // function and variable definitionssome methods and properties}();
现在,当我使用newObj()创建一个新的SPZ.EditablePuzzle时,初始化<
当构造新对象时,该对象被设置为将尚未显式设置的任何属性委托给其构造函数的原型。这意味着我们可以稍后更改原型,并且仍然可以看到实例中的更改。true.why is this happening since construtor prototype is empty object
那么,这些语句不是按照definition.right工作的,还是错误的?definition at the top is applying here,if so why the definit