3 ms·
Also you can use associate array notation to access an object property. Found this out after previously using eval to access a dynamic property name.
by robryan 16y ago
Also you can use associate array notation to access an object property. Found this out after previously using eval to access a dynamic property name.
- code_duck 16y agoyes, that's right - item.akey is interchangeable with item['akey'], but the latter form accepts expressions as the key value.