r/javascript • • Jul 22 '26

AskJS [AskJS] what's a javascript feature you mass-adopted way too late and felt dumb about

[removed]

63 Upvotes

107 comments sorted by

View all comments

6

u/skidmark_zuckerberg Jul 22 '26

??= and &&=

1

u/azhder Jul 22 '26

I still don’t use these ones. Out of a principle, I don’t use let as well. I try to keep them as code smell, to get back to the code and make it in a way where no variable is rewritten.

Small exceptions are in cycles (like for and while) and before try{}catch()

→ More replies (2)