The setTimeout() function is actually exposed by the browser's window object as as such they aren't necessarily defined in the ECMAScript specification because they're not JavaScript features, they are features of the browser itself.
You can see from the specification section in the previously linked documentation that it uses the WHATWG HTML Living Standard :
As opposed to a Javascript function like split() that explicitly uses EMACScript :
From MDN:
… and you won't see it in ECMA-262 5.1.
It is part of the
window
object in the browser, not defined in ECMAScript. Therefore, other environments such as Node are not guaranteed to have it.The
setTimeout()
function is actually exposed by the browser'swindow
object as as such they aren't necessarily defined in the ECMAScript specification because they're not JavaScript features, they are features of the browser itself.You can see from the specification section in the previously linked documentation that it uses the WHATWG HTML Living Standard :
As opposed to a Javascript function like
split()
that explicitly uses EMACScript :