* Fix plugin-transform-block-scoping const violations Fixes #13245 * Replace `a++` with `+a` where const violation * Remove assignment where const violation * Remove assignment for `&&=`, `||=`, `??=` where const violation * Shorten test
8 lines
168 B
JavaScript
8 lines
168 B
JavaScript
for (var i = 0; i < 3; i + 1, babelHelpers.readOnlyError("i")) {
|
|
console.log(i);
|
|
}
|
|
|
|
for (var j = 0; j < 3; +j, babelHelpers.readOnlyError("j")) {
|
|
console.log(j);
|
|
}
|