📜statement

JSgrammar ⟩ statement

JavaScript code consists of declarations and statements.

⭐️ declarations and statements are different

👉 statement vs. declaration

statement vs. declaration

statement

  • If an expression corresponds to a sentence fragment, a statement corresponds to a full sentence.

  • A program is a list of statements.

Last updated