Returns the last element of the given array
Optional
the array to inspect
the last element of the given array
getLast(['foo', 'bar']); // 'bar' Copy
getLast(['foo', 'bar']); // 'bar'
Returns the last element of the given array