async and await

async and await let you write code that waits for promises as if it were a recipe, one step under another, with try and catch for the steps that fail.

Updated

Cheat sheet: async and await
Category
JavaScript
Level
Journeyman
Tags
async Function, await, catch Block (javascript), JavaScript, try Block (javascript)