const someObjName = {
"ExampleName": []
}
Is it possible to change the javascript object "ExampleName" with a variable?
var jsObjectName = "otherName"
const someObjName = {
jsObjectName": []
}
const someObjName = {
"ExampleName": []
}
Is it possible to change the javascript object "ExampleName" with a variable?
var jsObjectName = "otherName"
const someObjName = {
jsObjectName": []
}