.last() | jQuery API Documentation

version added: 1.4 .last () This method does not accept any arguments. Given a jQuery object that represents a set of DOM elements, the .last () method constructs a new jQuery object from the last element in that set. The result of this call is a red background for the final item.

https://api.jquery.com/last/