operations on javascript array code example Example: last element of array javascript last element of array