Ruby - Operators and Expressions
Which of the following is the correct syntax to assign 10 to variable
num only if num is nil or false?num only if num is nil or false?||=.num ||= 10 assigns 10 only if num is nil or false.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions