-2

is timer not a part of Ecma Standard? for example

setTimeout, setInterval
2
  • setTimeout, setInterval should be the browser web api. Commented Dec 29, 2020 at 2:41
  • Please, you're encouraged to first google or search for the answers before asking the question here. This question was already answered in here: stackoverflow.com/questions/8852198/… Commented Dec 29, 2020 at 2:57

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

1 Comment

usually mix up the Ecma spec and Html spec

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.