var Data = {    "1":"United States",
                "2":"United Kingdom",
                "3":"Aruba",
                "4":"United Kingdom",
                "5":"Aruba",
                "6":"Bahrain",
                "7":"United Kingdom",
                "8":"Algeria",
                "9":"Andorra",
                "10":"American Samoa"
}
var IdKeyValuePair = [{"DropD1":Data},{"DropD2":Data},{"DropD3":Data},{"DropD4":Data}];
var obj= {
            id           : IdKeyValuePair,
            MultiColuumn : true,
            Checkbox     : true,
            Pagination   : false,
            max_height   : 400
         };
I want to print the name of DropD1, DropD2.. i am tryin in such a manner. but i am unable to do this..
var idName = [],i;
idLen = obj.id.length;
for(i=0;i<idLen;i++){
    idName[i] = ''+obj.id[i];
    console.log(idName[i]);
}
i am getting the DropD1, DropD2.. but the problem is that it in a object form so how can i convert it in a string... i want a result is such format...
for(i=0;i<idLen;i++){
   console.log(idName[i]);
}
Expected Output in string format not in object:
DropD1 DropD2 DropD3