From 70f736fe07c35e1b5ea923e497510bd9c171f59c Mon Sep 17 00:00:00 2001 From: Waldo Luis Ribeiro <30444355+waldoluisribeiro@users.noreply.github.com> Date: Sat, 23 Nov 2019 22:28:56 +0000 Subject: [PATCH] fix(curriculum): English editing (#37816) --- .../es6/use-export-to-share-a-code-block.english.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-export-to-share-a-code-block.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-export-to-share-a-code-block.english.md index 5563f2d526e..17df6e4ad07 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-export-to-share-a-code-block.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-export-to-share-a-code-block.english.md @@ -7,7 +7,7 @@ forumTopicId: 301219 ## Description
-Imagine a file called math_functions.js, it contains several functions related to mathematical operations. One of them is stored in a variable, add, that takes in two numbers and returns the sum of them. You want to use this function in several different JavaScript files. In order to share it with the files, you need to first export it. +Imagine a file called math_functions.js that contains several functions related to mathematical operations. One of them is stored in a variable, add, that takes in two numbers and returns their sum. You want to use this function in several different JavaScript files. In order to share it with these other files, you first need to export it. ```js export const add = (x, y) => { @@ -25,7 +25,7 @@ const add = (x, y) => { export { add }; ``` -After you export a variable or function, you can import it in another file to use without having to rewrite the code. You can export multiple things by repeating the first example for each thing you want to export, or by placing them all in the export statement of the second example like this: +When you export a variable or function, you can import it in another file and use it without having to rewrite the code. You can export multiple things by repeating the first example for each thing you want to export, or by placing them all in the export statement of the second example, like this: ```js export { add, subtract }; @@ -35,7 +35,7 @@ export { add, subtract }; ## Instructions
-There are two functions related to strings in the editor. Export both of them using the method of your choice. +There are two string-related functions in the editor. Export both of them using the method of your choice.
## Tests