Arrays

Create Array of Strings

Create Array with Array new

Create Array of Symbols

Manipulating Array Elements

Accessing elements

Creating an Array with the literal constructor

Decomposition

Arrays union intersection and difference

Two-dimensional array

Inject reduce

Filtering arrays

Arrays and the splat operator

map

Turn multi-dimensional array into a one-dimensional flattened array

Get unique array elements

Get all combinations permutations of an array

Remove all nil elements from an array with compact

Create an Array of consecutive numbers or letters

Create Array of numbers