Given an array, return the last element in the array. Do not mutate the array.
// input: const a = ['foo', 'bar', 'baz', 'qux', 'quux', 'corge']; // output: corge
/* output */