Partager via


Array Type Functions

Functions

Name

Description

Array.add Function

Adds an element to the end of an Array object.

Array.addRange Function

Copies all the elements of the specified array to the end of an Array object.

Array.clear Function

Removes all elements from an Array object.

Array.clone Function

Creates a shallow copy of an Array object.

Array.contains Function

Determines whether an element is in an Array object.

Array.dequeue Function

Removes the first element from an Array object.

Array.enqueue Function

Adds an element to the end of an Array object.

Note

Use the add function instead of the Array.enqueue function.

Array.forEach Function

Performs a specified action on each element of an Array object.

Array.indexOf Function

Searches for the specified element of an Array object and returns its index.

Array.insert Function

Inserts a value at the specified location in an Array object.

Array.parse Function

Creates an Array object from a string representation.

Array.remove Function

Removes the first occurrence of an element in an Array object.

Array.removeAt Function

Removes an element at the specified location in an Array object.

See Also

Reference

Array Type Extensions