Question from the Ruby test

Write a Ruby program that prints the sum of two numbers

Easy

What are the values of a and b from Ruby v2.7 ?

a, b = raise rescue [1, 2]# => [1, 2]
Author: HivebriteStatus: PublishedQuestion passed 256 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!