Variables
2/3/2026
JavaScript Notes

What is JavaScript?
JavaScript is a high-level, interpreted programming language used to create interactive and dynamic web applications.
It runs in browsers and on servers using environments like Node.js.
Features of JavaScript
- Lightweight and interpreted
- Dynamically typed
- Event-driven
- Prototype-based object-oriented
- Single-threaded with asynchronous support
- Runs on client-side and server-side
JavaScript Execution Model
- Parsing of code
- Creation of execution context
- Code execution
Variables
Declaration Keywords
var name = "Amber"; // function scoped (avoid) let age = 22; // block scoped const isDev = true; // block scoped, cannot be reassigned
