Array

Instance of

Class

Inherits from

Object

Description

Array class provides methods for manipulating arrays (list-like objects). Array elements are indexed with non-negative integers or negative integers (negative indices counts elements from the end of the array).

Example

let arr = [36.6, "Harry", true];
arr.forEach(function {
    console.write(args[0], " is element with index ", args[1], ", ");
});

Expected output

36.600000 is element with index 0, Harry is element with index 1, true is element with index 2, 

Members

Inherited members

Properties