`await` is the Best Thing to Happen to JavaScript in Years

Mostafa Gaafar wrote that await is, “the single greatest addition to JS since 2017“, and I have to agree.

Working with endless nested chains of Promises is extremely clunky and unintuitive, but await makes it simple and intuitive again. If you’re not already using it, I’d recommend checking out Mostafa’s article for an introduction.

Leave a Reply

Your email address will not be published. Required fields are marked *