diff options
Diffstat (limited to 'testLib/wrongConstModule.js')
-rw-r--r-- | testLib/wrongConstModule.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testLib/wrongConstModule.js b/testLib/wrongConstModule.js new file mode 100644 index 0000000..901892c --- /dev/null +++ b/testLib/wrongConstModule.js @@ -0,0 +1,4 @@ +// Assigning to a const should fail +const a = "a"; + +a = "b"; |