This method sorts the elements of an array in place and returns the sorted array. The default sort order is ascending, built upon converting the elements into strings and comparing their UTF-16 code unit values sequences.
This method creates a new array with all the elements that pass the test implemented by the provided function. It doesn't execute the function for array elements without values and doesn't change the original array.
This method returns a new array iterator that contains the keys for each index in the given input array.