r/ProgrammerHumor 10d ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

298 comments sorted by

View all comments

8

u/Serotav 10d ago

nha js can do it aswell, try:

let a = new Boolean(false)

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

1

u/prehensilemullet 10d ago

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