What is the output of the code? [code] variable="true".reverse if variable puts "true" else puts "false" end[/code]

What is the output of the code?
Code:
 variable="true".reverse
   if variable
   puts "true"
   else
   puts "false"
   end
A. False
B. True
C. Syntax error
D. None of the mentioned
 

Tìm kiếm

Back
Top