📜statement
JavaScript code consists of declarations and statements.
⭐️ declarations and statements are different❗
statement vs. declaration
👉 var is a statement❗️ (not a declaration)
let / const is declaration.
statement
may have a label.
If an expression corresponds to a sentence fragment, a statement corresponds to a full sentence.
A program is a list of statements.
Last updated