var obj = {'0':'a','1':'b','2':'c'};
Object.keys(obj).forEach(function(key){
console.log(key,obj[key]);
});
for (let key in type) {
if (type.hasOwnProperty(key)) {
if (key != 'send_at') {
series.forEach((type2) => {
if (type2.name == key) {
type2.data.push(type[key])
}
});
}
}
}