From dae22c95c34c867d4808eeccd40f6f5f70e06409 Mon Sep 17 00:00:00 2001 From: Aly Pilkons Date: Fri, 26 Apr 2019 09:03:04 -0400 Subject: [PATCH] Edit Instructions Text To Make Goal Clearer (#35887) * Edit Instructions Text To Make Goal Clearer The instructions end with "using the object provided" which is unclear since the user is expected to create their own name for the object. Users may think they need to reference an object name and be confused when they do not find it. Reiterating that the user needs to create the name for the object themselves makes the task clearer. * Updated commit based on comments --- .../es6/use--to-import-everything-from-a-file.english.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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