Skip to content

Commit 5a0d738

Browse files
jibin-lawrancesadanandpai
authored andcommitted
Correct spelling in concepts/async
1 parent d931cde commit 5a0d738

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/pages/concepts/async.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ XHR is used mainly in AJAX programming
6161
### 3. Show the working of promise along with resolve & reject code
6262

6363
- The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value
64-
- Promise returns an object which ramains in pending state until it is resolved or rejected
64+
- Promise returns an object which remains in pending state until it is resolved or rejected
6565
- Promise takes a function as an argument called as 'resolver' which can have resolve and reject as parameters
6666
- Resolve call will resolve the promise and reject will reject the promise (passing data is optional)
6767
- `then` method on promise object is used to execute the user code after promise settles, which takes functions where 1st one is for success and 2nd for failure

0 commit comments

Comments
 (0)