From b7c9f68ee30ed344fda8f2b413af828744c606c6 Mon Sep 17 00:00:00 2001 From: Isabelle Viktoria Maciohsek Date: Mon, 10 Jan 2022 18:49:02 +0200 Subject: [PATCH] Update javascript-promises.md --- blog_posts/javascript-promises.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog_posts/javascript-promises.md b/blog_posts/javascript-promises.md index bca974a07..b25247adb 100644 --- a/blog_posts/javascript-promises.md +++ b/blog_posts/javascript-promises.md @@ -19,7 +19,7 @@ fetch('https://my.api.com/items/1') The tricky part about promises is understanding that the resulting value may not initially be available. Instead, the promise can be in one of three states: -- **Pending:** initial state, neither fulfilled nor rejected +- **Pending:** initial state, neither fulfilled nor rejected. - **Fulfilled:** meaning that the operation was completed successfully. - **Rejected:** meaning that the operation failed.