Ruby Array - Initialization

  • + 0 comments
    array = Array.new
    array_1 = Array.new(1, nil)
    array_2 = Array.new(2, 10)