in the code bellow i tried to access the key in the value side but it shows an error that cannot use map on undefined i know i can use the obj variable and do what i need, but the problem is that on my task i don't have a variable name...
let obj = {nums: [1,2,3,4]}
obj = {
nums: nums.map((num) => {return num++})
}