I've recently learned that setTimeout is not part of Ecma 262 standard but takes part of WhatWG one.
I have one misunderstanding concerning these two standards and I can't get how they converge.
For now, setTimeout or setInterval, two ways of making Javascript asynchronous are part of the WhatWG spec.
Then and Ecma(script) 2015 comes out and offers Promise. I'm now able to check that it exists on the V8 public github repository.
My question is: How can the Promise spec be part of the Ecmascript standard since it's a micro task in the WhatWG standard?
I can't get how Promise can work OUTSIDE a WhatWG context (outside of an event loop?) but it seems feasible to run them outside this context: in an Ecmascript 2015 one.
What am I missing out there?
Thanks for your help