operator [] method

dynamic operator [](
  1. K key
)

return the value at key

Implementation

dynamic operator [](K key) {
  return get(key);
}