D
D
Danil Samusev2021-09-19 19:44:29
JavaScript
Danil Samusev, 2021-09-19 19:44:29

How to implement a timer?

I know there is a tutorial and there is code for this, but the problem is that it somehow doesn't behave very well. When I use the JS sandbox, Date.now() works fine there, but if I use the same code and run it on NodeJS, it gives unrealistic numbers that shouldn't even exist.

NodeJS version: v14.17.1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question