diff --git a/glossary/Promise.md b/glossary/Promise.md new file mode 100644 index 000000000..7ade5ccf7 --- /dev/null +++ b/glossary/Promise.md @@ -0,0 +1,4 @@ +### Promise + +The Promise object represents the eventual completion (or failure) of an asynchronous operation, and its resulting value. +A Promise can be in one of these states: pending(initial state, neither fulfilled nor rejected), fulfilled(operation completed successfully), rejected(operation failed).