Question
In this exercise, we are introduced to async
and await
, which are functionality introduced in ES8. Are these supported by browsers supporting ES6?
Answer
Every browser, but currently excluding the Baidu Browser, that supports ES6 is able to support the new functionality added in ES8, such as async
and await
.
ES6, or Ecmascript 2015, was a major update to JavaScript that added many new features to it. Following this update, each year smaller incremental updates had been made through ES7 (Ecmascript 2016) and ES8 (Ecmascript 2017), but these were not as major and should be supported in the latest browser versions.