Timeline for answer to Modifying an imported variable causes 'Assignment to constant variable' even if it is not a constant by Ivan Drinchev
Current License: CC BY-SA 4.0
Post Revisions
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 20, 2023 at 1:17 | comment | added | a101010 | and yet we can assign properties directly to x. x.foo = 2; works fine, if we have export let x = { foo: 3 }; So the value isn't immutable. Only the binding to the top level value. | |
| Dec 11, 2018 at 17:43 | vote | accept | xx yy | ||
| Dec 11, 2018 at 11:39 | history | answered | Ivan Drinchev | CC BY-SA 4.0 |