DEV Community

Max Angelo Dapitilla Perin
Max Angelo Dapitilla Perin

Posted on

Answer: javascript setInterval

Passing a string to setInterval is fine, and is one of two ways to use setInterval, the other is passing a function pointer. It is not wrong in any way like the other answers state, but it is not as efficient (as the code must be reparsed) nor…

Latest comments (0)

One Million Strong

Image description
We are an active and inclusive community of over one million registered creators, developers, and tech enthusiasts. Join us.