summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/constGlobalAssignError.js
blob: 87c7b78f04cbd03556e77f2c9fb8b5dd2e7ca160 (plain)
1
2
3
// |jit-test| error: TypeError

const x = 1; x = 2;