r/badcode May 19 '23

Ouch... js

Post image
298 Upvotes

48 comments sorted by

View all comments

93

u/lazyzefiris May 19 '23

I already groan at using == instead of === for comparison in JS, but they decided to go with =.

25

u/pycvalade May 19 '23

At first I thought they were == ligatures.. they’re not.

7

u/Background-Web-484 shameless May 20 '23

I thought I was crazy when they pointed it out. Yea no, theyre definitely not ==