var object = {name: 'Bhavansh'};
var array = [ ]; // Create empty array
// Add object to the array
array.push(object);
// To access the object
console.log(array[0].name);
var nietos = [];
var obj = {};
obj["01"] = nieto.label;
obj["02"] = nieto.value;
nietos.push(obj);
var nietos = [];
var obj = {};
obj["01"] = nieto.label;
obj["02"] = nieto.value;
nietos.push(obj);