Good day!
Starting from 8 LTS
async / await is fully supported on the Node platform; Starting from Chrome 62 (October 2017), you can use
await in the console outside the body of the asynchronous function, i.e. top-level. Today, at the Stage 2 stage, there is a corresponding
proposal in tc39. At the same time, there is a huge amount of legacy code with callbacks, even without promises, with a mixture of both, and all sorts of other combinations. Somewhere even left traces of generators. Those. in the JavaScript world, at least 4 different models of the implementation of (a) synchronicity coexist.
What do you prefer? Do not deny courtesy to give a moment an answer. Thank!