Skip to content

Commit 2dc881f

Browse files
committed
What is promise?
1 parent e8991fa commit 2dc881f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
The promise object represents thee eventual completion (or failure) of an asynchronous operation and its resulting value.
2+
3+
Promise has three states:-
4+
# pending: initial state, neither fulfilled nor rejected.
5+
# fthaulfilled: meaning that the operation was completed successfully.
6+
# rejected: meaning that the operation failed.

0 commit comments

Comments
 (0)