Hacker News new | ask | show | jobs
by Kalabasa 392 days ago
Object property access i guess. Like

myObj["myProperty"]

If it's a function then it could be invoked,

myObj["myProperty"]()

If the key was a symbol,

myObj[theSymbol]()

1 comments

pretty sure they were asking about the dynamic property name, { [thing]: ... }