break Last updated: 07. Mar 2024

Keyword

Terminates the current for, while, or do-while loop and continues executing the code that follows the loop.

Parameters

This function takes no parameters

Returns

This statement does not return a value.

Example