We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c91324 commit 286dca9Copy full SHA for 286dca9
readme.md
@@ -921,7 +921,7 @@ We firstly are going to create a promise. We will use the jQuery get method to d
921
922
```js
923
const xFetcherPromise = new Promise( // Create promise using "new" keyword and store it into a variable
924
- function(resolve, reject) { // Promise constructor takes a function parameter which as resolve and reject parameters itself
+ function(resolve, reject) { // Promise constructor takes a function parameter which has resolve and reject parameters itself
925
$.get("X") // Launch the AJAX request
926
.done(function(X) { // Once the request is done...
927
resolve(X); // ... resolve the promise with the X value as parameter
0 commit comments