Foreach Loop Table Rows jQuery

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