6 async syntax variations in Javascript.
Using async/await is prefered over the .then syntax since it makes asynchronous code look synchronous...
Tags: javascript, async, promises