-
-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
C-enhancementCategory - New feature or requestCategory - New feature or request
Description
I just did
export let x = 1;and then
const myModule = await import("my-module");
myModule.x = 2;
const myX = myModule.x; // myX will be 1...The value of myX was a bit unexpected.
Could you please warn about this? (I am using your Visual Studio Code extension. The extension is very nice! <3)
The accepted answer here explains the problem:
https://stackoverflow.com/questions/32558514/javascript-es6-export-const-vs-export-let
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementCategory - New feature or requestCategory - New feature or request
Type
Fields
Give feedbackPriority
None yet