* 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
7 lines
95 B
JavaScript
7 lines
95 B
JavaScript
var c = 17;
|
|
var a = 0;
|
|
|
|
function f() {
|
|
return (+c, babelHelpers.readOnlyError("c")) + --a;
|
|
}
|