We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Lydia. Thank you for your remarkable repo.)
I tried executing the example in a sandbox on Stackblitz.com and discovered the answer C is wrong. The right answer is B. You can see it here.
C
B
The text was updated successfully, but these errors were encountered:
@mg901 as I was suspecting, Stackblitz transpiles your code before executing it. It transpiles by using an implementation of CommonJS require().
require()
So, it doesn't actually use ESM modules. To check it, just open the project outside Stackblitz editor: https://js-w9nxee.stackblitz.io/
By opening the devtools, you can see the files.
If you run it on a Node project on local, with "type": "module" in package.json, the answer C is correct:
"type": "module"
Sorry, something went wrong.
In browser environment I get "Assignment to constant variable", not 11. The point is reassign imported variable and then make changes
No branches or pull requests
Hi, Lydia. Thank you for your remarkable repo.)
I tried executing the example in a sandbox on Stackblitz.com and discovered the answer
C
is wrong. The right answer isB
. You can see it here.The text was updated successfully, but these errors were encountered: