[ Solved ] Why answer is "truthy"? Confusion with the following Ruby quiz, which is about Boolean šŸ¤” | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 19

[ Solved ] Why answer is "truthy"? Confusion with the following Ruby quiz, which is about Boolean šŸ¤”

I started learning with Ruby. While going through lessons. Learned "false & nil" are "falsey" rest everything in Ruby is automatically as boolean "truthy". But, how the answer of this quiz question is "truthy"? Please, need help to clear confusion! https://www.sololearn.com/post/591161/?ref=app

18th Sep 2020, 3:13 PM
Shivani šŸ“šāœ
Shivani šŸ“šāœ - avatar
1 Resposta
+ 5
Mirielle[ InAcTiVe ] Thanks! Understood now.
18th Sep 2020, 4:00 PM
Shivani šŸ“šāœ
Shivani šŸ“šāœ - avatar