You can retrieve an object's properties using either the dot-notation or the array-notation. 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;