@[email protected] to Programmer [email protected] • 1 year ago===programming.devimagemessage-square60fedilinkarrow-up1662arrow-down115
arrow-up1647arrow-down1image===programming.dev@[email protected] to Programmer [email protected] • 1 year agomessage-square60fedilink
minus-square@SzethFriendOfNimilink0•1 year agoTry changing to const === variable. That’s most likely what’s it doing to minimize the risk of accidental assignment.
minus-square@[email protected]linkfedilink3•1 year agoWut? This is an automated optimizer. It is not worried about accidental assignment.
minus-square@SzethFriendOfNimilink1•1 year agoI agree it shouldn’t. But I’ve seen linters that automatically change it since they seem to be forcing practical conventions sometimes.
minus-square@[email protected]linkfedilink3•1 year agoLinters and minifers are completely different tools.
minus-square@SzethFriendOfNimilink3•1 year agoGood point. That’s what I get for shooting from the hip. Thanks!
Try changing to const === variable. That’s most likely what’s it doing to minimize the risk of accidental assignment.
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.
Linters and minifers are completely different tools.
Good point. That’s what I get for shooting from the hip.
Thanks!