Proposal: Switch position of delay and callback in signature of `setTimeout()`

Tab Atkins Jr. jackalmage at gmail.com
Mon Apr 25 17:44:34 UTC 2016


On Mon, Apr 25, 2016 at 10:43 AM, Oriol Bugzilla
<oriol-bugzilla at hotmail.com> wrote:
> `setTimeout` is not part of ECMAScript. You should suggest this to WHATWG
> instead.

And I can short-circuit the request: we can't change it.  setTimeout
is an old and heavily-used API, so any change like this is very likely
to be backwards-incompatible.

~TJ


More information about the es-discuss mailing list