Array functions - English

3302 visits



Outline:

1. push Add element at the end of an array 2. pop Remove element from the end of an array 3. unshift Add element at the start of an array 4. shift Remove element of an array from the start. 5. split This function splits the string and makes an array of it. 6. qw qw stands for “Quoted word” It returns a list of word separated by white spaces. 7. sort sorts the array in alphabatical order.