You lost context: class Tank { draw() { console.log('draw'); } update() { this.draw(); } } const tank = new Tank(); // Call method of ...
確定! 回上一頁