| ▲ | moritzwarhier 3 hours ago | |||||||
I knew this in and out, but as a Full-Stack PHP/Symfony/Frontend/JS guy who pivoted to mainly TS for b2b stuff, I still have to occasionally enter
into the browser console just to be sure, during code reviews :D | ||||||||
| ▲ | tredre3 2 hours ago | parent [-] | |||||||
In JS/TS:
In PHP:
Honestly the only way to remain sane in either, but especially if you use both, is to always use === and never use boolean logic (!) when a string could be involved. | ||||||||
| ||||||||