If I have the following arr = [13,12,31,31] Now say I want to push in another set of numbers like 12,13,54,32
So I can do arr << [12,13,54,32] but now I have [13,12,31,31,[12,13,54,32]]
So how can I remove the outside array? arr = arr.pop works sometimes but I'm guessing that a better way exists. Please enlighten.
arr << [12,13,54,32]would result in[13, 12, 31, 31, [12, 13, 54, 32]], not[[13,12,31,31,12,13,54,32]]. Is that just a typo?