Promise.resolve("World").then(console.log); console.log("Hello");
Hello World undefined
doSomething(); doSomethingElseAsync(); doSomethingUsefulThisTime();
doSomethingAsync(); doSomethingElseAsync(); doSomethingUsefulThisTimeAsync();
By Tomasz Banasiak