Introduction to JavaScript Statements
This page provides a comprehensive overview of the JavaScript statements supported in Microsoft MakeCode. It covers various types of statements including:
- Variable Declarations: Learn about
constandletstatements for defining variables. - Block-Structured Statements: Understand how to use block statements,
if-else, loops (while,do-while,for), andswitchstatements. - Control-Flow Commands: Discover commands like
break,continue,return, anddebuggerfor controlling the flow of your code. - Labeling Statements: Get familiar with labeling statements and the
defaultstatement.
This resource is ideal for beginners and educators looking to teach JavaScript programming concepts effectively.

