Foreach Loop Table Rows JQuery

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