change the value of object and variable in function javascript code example
Example: javascript object string property
// Also useful for dynamic strings, e.g. `thing-${variable}`
myObject['thing'] = true;
// Also useful for dynamic strings, e.g. `thing-${variable}`
myObject['thing'] = true;