5 ms·
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[
by Kalabasa 1y 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]()
- TheRealPomax 1y agopretty sure they were asking about the dynamic property name, { [thing]: ... }