The Promise of a Burger Party

Mariko Kosaka with an elaborate and wonderful metaphor.

What is a Promise in JavaScript? It’s like if you go to a restaurant and order a burger and a shake. The restaurant needs to prepare your food, so after you pay, you get a tray with a buzzer on it. The tray is the Promise.

Direct Link to ArticlePermalink


The Promise of a Burger Party is a post from CSS-Tricks

CSS-Tricks

Add a Comment

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

21