Ruby - Arrays
The following Ruby code is intended to add 0 to the front of the array
nums and then remove the last element. What is the error?nums = [1, 2, 3] nums.unshift(0) nums.pop()
