i have this array.
[["20152","15301","020053","2016-08-05","05:00","06:00","07150100190"],["20152","15301","020051","2016-08-05","03:00","04:00","07150100190"],["20152","15301","000040","2016-08-05","01:00","02:00","07150100190"],["20152","15301","020050","2016-08-05","07:00","08:00","07150100190"]]
is it possible to change it into
var timetable = [{
"thakad" : "20152",
"prodi" : "15301",
"mk" : "020053",
"date" : "2016-08-05",
"open" : "05:00",
"close" : "06:00",
"number" : "07150100190"
},
{
//and keep looping dynamically
}];
If i can how do i loop changed array in javascript?