What is the difference between
var row1 = $(\'tr\').get(0);
and
var row2 = $(\'tr\').eq(0);
get(0) returns the first DOM element matched by the selector.
eq(0) returns a jQuery object containing the first DOM element matched by the selector.
In other words, $("selector").get(0) is equivalent to $("selector").eq(0).get(0).
$("selector").get(0)
$("selector").eq(0).get(0)