js object when the property name and value are the same 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;