diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use--to-import-everything-from-a-file.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use--to-import-everything-from-a-file.english.md index 50d8648a2a..47164c2c9d 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use--to-import-everything-from-a-file.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use--to-import-everything-from-a-file.english.md @@ -6,7 +6,7 @@ challengeType: 1 ## Description
-Suppose you have a file and you wish to import all of its contents into the current file. This can be done with the import * syntax. +Suppose you have a file and you wish to import all of its contents into the current file. This can be done with the import * as syntax. Here's an example where the contents of a file named "math_functions" are imported into a file in the same directory:
import * as myMathModule from "math_functions";
myMathModule.add(2,3);
myMathModule.subtract(5,3);
And breaking down that code: @@ -16,7 +16,7 @@ You may use any name following the import * as portion of the state ## Instructions
-The code in this file requires the contents of another file, "capitalize_strings", that is in the same directory as the current file. Add the appropriate import * statement to the top of the file, using the object provided. +The code in this file requires the contents of another file, "capitalize_strings", that is in the same directory as the current file. Add the appropriate import * as statement to the top of the file.
## Tests