Standardize global `setTimeout`/etc.?
andrea.giammarchi at gmail.com
Sun Feb 26 13:20:19 UTC 2017
These are standard already:
It's rather a matter of "what in the W3C global scope should be available
on ECMAScript specifications too" ?
'cause timers are not the only thing that comes handy. Native
URLSearchParams and URL are also very handy, so could be fetch VS current
encodeURIComponent is there too ... why is that?
On Sat, Feb 25, 2017 at 11:35 PM, Isiah Meadows <isiahmeadows at gmail.com>
> Most runtimes (not necessarily engines) in my experience provide
> either a synchronous `sleep` or the above `setTimeout`/etc. globals.
> In addition, many popular testing frameworks (e.g. Mocha, Jasmine)
> require them for important functionality. So here's my thought: it
> might be a good idea to standardize these methods in the language
> proper instead of just within the browser.
> Isiah Meadows
> me at isiahmeadows.com
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss