const arr=[11,2222,33333,444444,55555,666666]
const obj1 = Object.assign({}, arr);
document.write(obj1)
output:-
{ '0': 11,
'1': 2222,
'2': 33333,
'3': 444444,
'4': 55555,
'5': 666666 }
//Hi i want to assign same key to my all the value which method i should be using there.