You are viewing a single thread.
View all comments View context
0 points

Try changing to const === variable. That’s most likely what’s it doing to minimize the risk of accidental assignment.

permalink
report
parent
reply
3 points

Wut? This is an automated optimizer. It is not worried about accidental assignment.

permalink
report
parent
reply
1 point

I agree it shouldn’t. But I’ve seen linters that automatically change it since they seem to be forcing practical conventions sometimes.

permalink
report
parent
reply
3 points

Linters and minifers are completely different tools.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.2K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments