Skip to content

Commit 286dca9

Browse files
authored
Mispelling fix
1 parent 3c91324 commit 286dca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ We firstly are going to create a promise. We will use the jQuery get method to d
921921

922922
```js
923923
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
924+
function(resolve, reject) { // Promise constructor takes a function parameter which has resolve and reject parameters itself
925925
$.get("X") // Launch the AJAX request
926926
.done(function(X) { // Once the request is done...
927927
resolve(X); // ... resolve the promise with the X value as parameter

0 commit comments

Comments
 (0)