clocks do not work on javascript, in this code the message "timer" is not displayed.
this.clock.setInterval(() => {console.log("timer");}, 1000);
what am I doing wrong?
clocks do not work on javascript, in this code the message "timer" is not displayed.
this.clock.setInterval(() => {console.log("timer");}, 1000);
what am I doing wrong?