is timer not a part of Ecma Standard? for example
setTimeout, setInterval
That's correct. It does not exist in the official specification. One could construct a valid ECMAScript interpreter that does not know of setTimeout or setInterval.
setTimeout
setInterval
However, it does exist in the HTML standard.
That's correct. It does not exist in the official specification. One could construct a valid ECMAScript interpreter that does not know of
setTimeoutorsetInterval.However, it does exist in the HTML standard.