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

Adrian Sieber mail at
Mon Apr 25 18:03:50 UTC 2016

@Boris Well, I wasn't aware the `setTimeout()` has such an absolutely
broken API. So I guess a clean reset would be better/easier.

How about making `setTimeout()` a part of ECMAscript. Maybe as
`Date.setTimeout()` like it was done with `Number.parseInt()` … and this
time with a saner API =D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list