Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

fall-through

In the old colon form of switch, carrying on into the next case because no break stopped it.

In a switch with colon-form labels, execution continues from the matching label through later labels' statements until a break or the end; arrow-form cases never fall through.

Examples

  • In the colon form, case 1: without break runs on into case 2:'s statements too.

Read the full section →