Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
spelling : it’s -> its (mbeaudru#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolapps authored and mbeaudru committed Oct 20, 2017
1 parent fdd3e61 commit b5b12f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ const xFetcherPromise = new Promise( // Create promise using "new" keyword and s

As seen in the above sample, the Promise object takes an *executor* function which takes two parameters **resolve** and **reject**. Those parameters are functions which when called are going to move the promise *pending* state to respectively a *fulfilled* and *rejected* state.

The promise is in pending state after instance creation and it's *executor* function is executed immediately. Once one of the function *resolve* or *reject* is called in the *executor* function, the promise will call its associated handlers.
The promise is in pending state after instance creation and its *executor* function is executed immediately. Once one of the function *resolve* or *reject* is called in the *executor* function, the promise will call its associated handlers.

##### Promise handlers usage

Expand Down

0 comments on commit b5b12f3

Please sign in to comment.