📜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.
Last updated
Was this helpful?
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.
Last updated
Was this helpful?