DEV Community

loading...

Discussion on: 17 Pro JavaScript tricks you didn't know

Collapse
thesanjeevsharma profile image
Sanjeev Sharma

Well, Make sure you don't apply each one of these. Think before using.

Readability > Pro Hacks

Also, this a != 123 is not noob and this a ^ 123 is not pro. If I see this, I'll refactor it.

Collapse
moopet profile image
Ben Sinclair

If I see this, I'll query it because I'll assume they made a typo.

Collapse
thesanjeevsharma profile image
Sanjeev Sharma

Now that we know it's a pro move. You won't need to. Haha.