diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/create-a-javascript-promise.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/create-a-javascript-promise.english.md index 80bdd4ec4f..367cc753af 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/create-a-javascript-promise.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/create-a-javascript-promise.english.md @@ -6,7 +6,7 @@ challengeType: 1 ## Description
-A promise in JavaScript is exactly what it sounds like. You use it to make a promise to do something, usually asynchronously. When the task completes you either fulfill your promise or fail to do so. Promise is a constructor function, so you need to use the new keyword to create one. It takes a function as its argument with two parameters, resolve and reject. These are methods used to determine the outcome of the promise. The syntax looks like this: +A promise in JavaScript is exactly what it sounds like. You use it to make a promise to do something, usually asynchronously. When the task completes, you either fulfill your promise or fail to do so. Promise is a constructor function, so you need to use the new keyword to create one. It takes a function as its argument with two parameters: resolve and reject. These are methods used to determine the outcome of the promise. The syntax looks like this: ```js const myPromise = new Promise((resolve, reject) => { diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/handle-a-fulfilled-promise-with-then.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/handle-a-fulfilled-promise-with-then.english.md index 14cbe773b9..7d51f67a62 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/handle-a-fulfilled-promise-with-then.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/handle-a-fulfilled-promise-with-then.english.md @@ -19,7 +19,7 @@ myPromise.then(result => { ## Instructions
-Add the then method to your promise. Use result as the argument of its callback function and log result to the console. +Add the then method to your promise. Use result as the parameter of its callback function and log result to the console.
## Tests diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/handle-a-rejected-promise-with-catch.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/handle-a-rejected-promise-with-catch.english.md index aa6cb524f9..208b0e9e36 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/handle-a-rejected-promise-with-catch.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/handle-a-rejected-promise-with-catch.english.md @@ -16,12 +16,12 @@ myPromise.catch(error => { error is the argument passed in to the reject method. -Note: the then and catch methods can be chained to the promise declaration if you chose. +Note: the then and catch methods can be chained to the promise declaration if you choose.
## Instructions
-Add the catch method to your promise. Use error as the argument of its callback function and log error to the console. +Add the catch method to your promise. Use error as the parameter of its callback function and log error to the console.
## Tests