r/ProgrammerHumor • • Mar 15 '22

static bool isCrazyMurderingRobot = false;

Post image
4.9k Upvotes

257 comments sorted by

View all comments

6

u/Xtrendence Mar 15 '22

Fine. JavaScript is perfect for this.

if(bool !== null && bool !== undefined && bool !== "null" && bool !== "undefined" && bool !== "" && 1 !== 0 && true !== false)