The Promise of a Burger Party

Go to Source

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

Go to Source