Please enable JavaScript to use CodeHS

AP CSA: CON-2.C.5

CodeHS Lessons

Executing a return statement inside an iteration statement will halt the loop and exit the method or constructor.

Standard
4.1 Iteration
Standard
3.3 Methods and Return Values
Standard
10.1 Iteration