DEV Community

Discussion on: A Simple Guide to Asynchronous JavaScript: Callbacks, Promises & async/await

Collapse
 
briannarenni profile image
Brianna Renni

Great read, but I think these two states need switching?
[settled]: the operation is a failure
[rejected]: the operation is either fulfilled or settled, but not pending anymore.

Collapse
 
koladev profile image
Mangabo Kolawole

Oh yes! Definitely, thanks for this correction.