Javascript ES6 export const vs export let
In ES6, imports are live read-only views on exported-values. As a result, when you do import a from “somemodule”;, you cannot assign to a no matter how you declare a in the module. However, since imported variables are live views, they do change according to the “raw” exported variable in exports. Consider the following code … Read more