MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p77adrd/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • 23h ago
276 comments sorted by
View all comments
8
nha js can do it aswell, try:
let a = new Boolean(false)
if (a) { console.log("it was true indeed") }
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
1
No competent JS developer that I’ve heard of has ever touched primitive boxes like new Boolean
new Boolean
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")}