Skip to content

Commit 092d168

Browse files
fix(learn): minor typo in "Discover Promises in Node.js" (#7747)
fix(learn): minor typo in Discover Promises in Node.js ```diff -When you order the pizza, You're in the pending state +When you order the pizza, you're in the pending state ``` Signed-off-by: Carlos Menezes <[email protected]>
1 parent 2f8da07 commit 092d168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/site/pages/en/learn/asynchronous-work/discover-promises-in-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A Promise can be in one of three states:
1818
- **Fulfilled**: The operation completed successfully, and the Promise is now resolved with a value.
1919
- **Rejected**: The operation failed, and the Promise is settled with a reason (usually an error).
2020

21-
When you order the pizza, You're in the pending state, hungry and hopeful. If the pizza arrives hot and cheesy, you've entered the fulfilled state. But if the restaurant calls to say they've dropped your pizza on floor, you're in the rejected state.
21+
When you order the pizza, you're in the pending state, hungry and hopeful. If the pizza arrives hot and cheesy, you've entered the fulfilled state. But if the restaurant calls to say they've dropped your pizza on floor, you're in the rejected state.
2222

2323
Regardless of whether your dinner ends in joy or disappointment, once there's a final outcome, the Promise is considered **settled**.
2424

0 commit comments

Comments
 (0)