Standardize global `setTimeout`/etc.?

Isiah Meadows isiahmeadows at gmail.com
Sat Feb 25 23:35:34 UTC 2017


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


More information about the es-discuss mailing list