Search

Method sort(Function sortBy)

Removes and returns the FIRST element of an array.

Returns

Array

Arguments

Name Type Description
sortBy Function Optional. Sort the elements of an array