Unable to retrieve table header values using jquery

Unable to retrieve table header values using jquery

Hi
I am unable to retrive the content of my html table using the below jquery.Please help
$("#save").click(function(){
var tbl = $('#timeTable tr').map(function() {
return [$(this).find('td').map(function() {
return $(this).html();
}).get()];
}).get();
console.log(tbl);
});