Please enable JavaScript to use CodeHS

AP CSA: VAR-2.C.3

CodeHS Lessons

Assigning a new value to the enhanced for loop variable does not change the value stored in the array.

12.3 Enhanced for Loop for Arrays
13.3 Enhanced for Loop for Arrays
6.3 Enhanced for Loop for Arrays
7.4 Enhanced For Loops
5.4 Enhanced For Loops