@ (HashTable)
Returns a value by key.
Arguments
key
to get an entry by. If no entry with this key exists, an error will occur.table
is the HashTable to get an entry from.
Return values
value
of the entry.
Complexity
Amortized constant, O(size) in the worst case.
Example
Output:
nineteen
NINETEEN