These are standard already:
https://www.w3.org/TR/2011/WD-html5-20110525/timers.html#timers

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
http get.

encodeURIComponent is there too ... why is that?

Etcetera

On Sat, Feb 25, 2017 at 11:35 PM, Isiah Meadows <[email protected]>
wrote:

> 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
> [email protected]
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to