DEV Community


Discussion on: Those silly mistakes we all make

carsturdy profile image
Carson Sturtevant

I can't tell you how many times I've done something like:

if(a = b) {
// do something

After some time I finally realize that i didn't put a second =.

philnash profile image
Phil Nash Author

Oh, I've done this before. It's such a pain to spot a missing =!