1523
"Works for me"
(lemmy.sdf.org)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
I've never seen the
!0and!1, it is dumb and indicates either young or terrible devs.Boolean(window.chrome)is the best,!!window.chromeis good, no need to test if it's equal totrueif you make it a boolean beforehand.i just added the
=== truefor clarity