Reduce the set of matched elements to the final one in the set.
// <li>A</li><li>B</li> $('li').last().addClass('last-item');
<li>A</li> <li class="last-item">B</li>
Equivalent to .eq(-1).
.eq(-1)
Returns: A new SR object.
SR