The << operator is the simplest way to add a value to an array. Ruby dynamically resizes arrays as elements are added and removed. a = [1, 2, 3] # => [1, 2, ...
確定! 回上一頁