There is such a function:
var animateTitle = function(countMessages) { } How to re-call it in setTimeout ? Something like in the body of the function itself (recursion):
setTimeout(animateTitle(call), 3000); Only parameters how to transfer correctly? In my example, an error occurs in the console:
Uncaught RangeError: Maximum call stack size exceeded