Sherzy
3/17/2016 - 4:29 PM

Arrays

Arrays

array.join(separator)

// separator Optional. The separator to be used. If omitted, the elements are separated with a comma

array.pop();      // Removes the last element 
array.shift();            // Removes the first element
array.unshift("Lemon");    // Adds a new element at beginning