r/ProgrammerHumor 23h ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.6k Upvotes

276 comments sorted by

View all comments

8

u/Serotav 22h ago

nha js can do it aswell, try:

let a = new Boolean(false)

if (a) {
console.log("it was true indeed")
}

1

u/prehensilemullet 18h ago

No competent JS developer that I’ve heard of has ever touched primitive boxes like new Boolean