solution
Pass a Primitive to an Indexed Access Type
If you think about it, the keys of the programModes
array are 0
, 1
, 2
, 3
, 4
, and 5
:
For example, we can access the first element of
Loading solution