Today i have seen:
if (var === true || var === 'true' || var === "true")
I'm just fortunate enough to not work with the frontend at our very backend service, but I always hear things that shouldn't be even allowed in this planet.
Today i have seen:
if (var === true || var === 'true' || var === "true")
I'm just fortunate enough to not work with the frontend at our very backend service, but I always hear things that shouldn't be even allowed in this planet.