* 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
3 lines
54 B
JavaScript
3 lines
54 B
JavaScript
var foo = 1;
|
|
+foo, babelHelpers.readOnlyError("foo");
|