Can you find the issue in this script?

The index of 3 doesn't existWe can't add "Peter" to the existing arrayThe index of 2 doesn't exist

Perfect! While we can add values to arrays at indices that don't exist, we can't access values that don't exist.

Oh noes! While we can add values to arrays at indices that don't exist, we can't access values that don't exist.