Problem
Return true if the first and last elements of the array are equal.
Examples
sameFirstLast([5, 3, 8]) -> falsesameFirstLast([4, 9, 4]) -> truesameFirstLast([12]) -> true
Return true if the first and last elements of the array are equal.
sameFirstLast([5, 3, 8]) -> falsesameFirstLast([4, 9, 4]) -> truesameFirstLast([12]) -> true