Update Last of List function name to `last` to avoid confusion.
Return arr.slice(-1)[0].
arr.slice(-1)[0]
var last = arr => arr.slice(-1)[0];