Using * to import

Tell us what’s happening:
It tells me I’m wrong, I know I’m not. Do I need to switch browsers(currently using edge) to get the text editor to recognize the ‘as’. the ‘as’ is not showing up in blue like other key words do.

Your code so far


import * as stringFunctions from "./string_functins.js";
// Only change code above this line

stringFunctions.uppercaseString("hello");
stringFunctions.lowercaseString("WORLD!");

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Edg/98.0.1108.56

Challenge: Use * to Import Everything from a File

Link to the challenge:

Never mind it worked.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.