[ Solved ] Why answer is "truthy"? Confusion with the following Ruby quiz, which is about Boolean 🤔 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 5
Mirielle[ InAcTiVe ] Thanks! Understood now.
18th Sep 2020, 4:00 PM
Shivani 📚✍
Shivani 📚✍ - avatar