Nil Quiz


What is nil in Ruby?

Show Answer

What does the following expression evaluate to?

[1, 2, 3, 4, 5][8]

Show Answer

What do the following expressions evaluate to?

(true || nil) == true
(true && nil) == true

Show Answer