I have achieved this one:
process.env.TEST = 1
console.log(process.env.TEST) // output is 1
But now, I want to achieve this way:
const obj = {
TEST: 1
}
console.log(process.env.obj["TEST"]) //error: Cannot set properties of undefined
How can I get the value of test and append on period after env ?