first
Returns the first element of an array.Apple
last
Returns the last element of an array.Cherry
at
Returns the element at a specific index (zero-based).
Example:
Banana
join
Joins array elements into a string with a separator.
Examples:
javascript, nodejs, api
javascript | nodejs | api
length
Returns the length of an array, string, or object.3
contains
Returnstrue if the array contains a value.
sum
Calculates the sum of array values or a specific property.
Examples:
60
60
average
Calculates the average of array values or a specific property.
Examples:
86.25
max
Returns the maximum value in an array.
Examples:
49.99
min
Returns the minimum value in an array.
Examples:
19.99

