Course · Section 11: Working With Arrays · Lecture 150: The New at Method
Implement `lastEl(arr)` returning the last element using the `at` method.
+ 1 hidden test run on Submit.
at accepts negative indices, so at(-1) is the last element.
Run your code to see results.