简体   繁体   中英

in javascript, timer is not a part of Ecma Standard?

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 .

However, it does exist in the HTML standard .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM