class js access property define , 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;