This is my code
var data={};
data={stdId:"101"};
data={empId:"102"};
data={deptId:"201"};
I have a data object getting data from services with one key only. but key names are different like stdId or empId ,etc.
I want to assign empty value to stdId or empId ,etc. like data={stdId:""} .
The key names are changed dynamically based on services.