Reading a previous question about the setInterval method in JavaScript I pointed out on my notebook the following problem:
setTimeout()
works correctly in IE11, FF46 and Chrome51 and so the interval is stopped.
In the MDN documentation, instead, clearTimeout is so described:
Clears the delay set by WindowTimers.setTimeout().
Why? Are clearTimeout and clearInterval interchangable?