getSlot method

Object? getSlot(
  1. int slot
)

Reads the value at slot in THIS frame's slot array. The caller guarantees (via the static resolver's depth-0 coordinate) that the slot was written by a preceding defineSlot in the same frame. No name hashing — one list index (note-6, §10.4).

Implementation

Object? getSlot(int slot) => _slots![slot];