Today's Little Program isn't even a program.
It's just a function.
The problem statement is as follows:
Given a nonempty JavaScript array of numbers,
find the index of the smallest value.
(If the smallest value appears more than once,
then any such index is acceptable.)
One solution is simply to do the operation manually,
simulating how ...