Q: What value gets printed ?
Answered
previous quizz quizz 30/36 next quizz
a = [1, 2, 3, 4] a.unshift(2) a.pop(4) a.push(1, 2) a.delete(2) p a
copy
Ruby 3.3.0