# end

Returns the last N elements of an array. If 1 is specified, it returns only the last element.

end(2, [1, 2, 3]); // [2, 3]