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