JavaScript Syntax
Every JavaScript program has rules for how statements are written and executed.
- Statements end with semicolons (optional but recommended)
- Case sensitive
- CamelCase for variables
Example
let x = 5;
let y = 6;
console.log(x + y);Try it Yourself