open_in_new
content_copy
let key = 'ram' const obj = { [key]: 122 } console.log(obj)