A
A
artshelom2016-07-21 20:58:41
Node.js
artshelom, 2016-07-21 20:58:41

Where is the error in setInterval?

var timerId = setInterval(console.log("Hi11"), 1000);
In this code, after execution, the following error occurs
timers.js:275
timer._repeat();
^
TypeError: timer._repeat is not a function
How to fix it??

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