Potential misunderstanding for students

in the direction it implicitly states " import * as" with as highlighted in blue as if it registers with the same functionality as import.

however only “Import *” and the “from” become highlighted as blue, and not “as” as is stated in the instructions…

Your code so far

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


Your browser information:

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

Challenge: Use * to Import Everything from a File

Link to the challenge:

Ya, that’s a little weird why the monaco editor doesn’t highlight as like it does from. I’m guessing it’s just an oversight/bug. You could open a github issue on it.

I’m not sure how much this discrepancy confuses people? Color highlighting is nice, but it’s the words on the page that count. Regardless, this is an issue for MS to fix :slight_smile:

1 Like

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