Fixed issue in iterator method of Array prototype: the slot list was
used to refer to the array being iterated. Now, the slot array is used
to refer to the array being iterated.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>