BUG: Import * as

Tell us what’s happening:
Describe your issue in detail here.

‘import *’ is showing as a (blue text) and the ‘as’ is showing as a (grey text)

Your code so far


import * as stringFunction from "./string_function.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/91.0.4472.124 Safari/537.36

Challenge: Use * to Import Everything from a File

Link to the challenge:

There’s a typo - missing s at the end of function name and file name.

2 Likes

I didn’t notice that. Thank you!

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