Will select the last element of a cheerio object.
The last element.
$('#fruits').children().last().text();//=> Pear Copy
$('#fruits').children().last().text();//=> Pear
https://api.jquery.com/last/
Will select the last element of a cheerio object.