$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #137
What is the output?
console.log(Boolean(''), Boolean('0'));
false true
true false
false false
true true
Only the empty string is falsy; '0' is a non-empty string.
Play Problem Solving ▸
◂ #136
all Problem Solving — predict the output questions
#138 ▸