End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.
The previous state of the set of matched elements.
$('li').eq(0).end().length;//=> 3 Copy
$('li').eq(0).end().length;//=> 3
https://api.jquery.com/end/
End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.