function renameProperty(obj, oldName, newName) { obj[newName] = obj[oldName]; delete obj[oldName]; }
a.Prop3 = a.Prop1; delete a.Prop1;
obj.newProperty = obj.property delete obj.property