0 points
Try changing to const === variable. That’s most likely what’s it doing to minimize the risk of accidental assignment.
3 points
Wut? This is an automated optimizer. It is not worried about accidental assignment.
I agree it shouldn’t. But I’ve seen linters that automatically change it since they seem to be forcing practical conventions sometimes.
3 points