window.Array Class

Defined in: window.Array:7
Module: Core

append

(
  • arguments
)
Array

Defined in append:71

Appends a list of items or list of arrays to the end of this array. This functions like concat(), but works on the original array instead of making a copy.

Parameters:

  • arguments

    A list of arrays or individual items.

Returns:

Array:

This array.

last

(
  • array
)

Defined in last:52

Get the last item in the array

Parameters:

Returns:

:

The last item

random

(
  • array
)

Defined in random:33

Get a random item from an array

Parameters:

Returns:

:

The random item

shuffle

()

Defined in shuffle:13

Shuffles the array