operator [] method

dynamic operator [](
  1. dynamic key
)

Implementation

dynamic operator [] (key) => getProperty(key);