I\'m fairly new to JavaScript and am not sure this is possible to do but basically I would like to take an object and convert it into an array of strings in the format;
var obj =[
{'2018-05-07':1},
{'2018-05-08':3},
{'2018-05-09':2}
];
for(var i of obj) {
var key = Object.keys(i).toString();
console.log(i,'=',i[key]);
}