Array.classPrototype.length

Instance of

Function

Return value

/*Number*/

Description

Returns the number of elements in that array.

Example

let arr = [36.6, "Harry", true];
console.write(arr.length());

Expected output

3