Wed Oct 12 2022 02:20:09 GMT+0000 (Coordinated Universal Time)
Saved by @Vrushabh_123
let key = 'ram' const obj = { [key]: 122 } console.log(obj)
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments