What is the difference between
$("h1")
and
$("h1").get()
The first one returns some sort of object and the second one an array (with the same elements), but what exactly does it do?
The documentation only mentions "Retrieve the DOM elements matched by the Cheerio object. If an index is specified, retrieve one of the elements matched by the Cheerio object", but it still isn't very clear to me...