jquery get each row in table

JavaScript
$('table > tbody  > tr').each(function(index, tr) { 
   console.log(index);
   console.log(tr);
});

Source

Also in JavaScript: