A structured, hands-on JavaScript repository — built while mastering the language from fundamentals to advanced concepts, with runnable code for every topic.
Most "JS notes" repos are copy-pasted theory. This one is different — every concept here was learned by building, breaking, and debugging real code, then documented the way I'd explain it out loud in an interview.
This is the same repo I use to prep for frontend interviews, teach students, and revise before technical rounds. Meant to be read like a syllabus, not searched randomly.
Click to expand / collapse the full index
| # | Topic | Focus Area |
|---|---|---|
| 01 | Intro | JS basics, setup, execution |
| 02 | Variables | var, let, const, scope, hoisting |
| 03 | Operators | Arithmetic, logical, ternary, nullish coalescing |
| 04 | Conditional Statements | if/else, switch, guard clauses |
| 05 | Functions | Declarations, expressions, arrow functions, higher-order fn |
| 06 | DOM | Selectors, events, event delegation, debounce/throttle |
| 07 | Storage | localStorage, sessionStorage, cookies |
| 08 | Dialog Box | alert, confirm, prompt, modals |
| 09 | Primitive Types | string, number, boolean, null, undefined, symbol, bigint |
| 10 | Non-Primitive Types | Objects, arrays, reference vs value |
| 11 | Dates | Date object, formatting, timezones |
| 12 | Regular Expressions | Pattern matching, validation |
| 13 | Async JS | Callbacks, Promises, async/await, event loop |
| 14 | ES6+ | Destructuring, spread/rest, template literals, modules |
| 15 | Functional Concepts | Pure functions, immutability, currying |
| 16 | Core Concepts | Closures, hoisting, this, scope chain |
| 17 | Call / Bind / Apply | Function context manipulation |
| 17 | OOPs | Prototypes, classes, inheritance |
| 18 | Errors | try/catch, custom errors, error boundaries |
| 19 | Memory | Memoization, garbage collection, memory leaks |
| 20 | Fun | Tricky JS quirks & gotchas |
| 21 | Assets | Supporting files/resources |
| 22 | OOPs (Advanced) | Design patterns, encapsulation |
| 23 | Logical Problems | Array/string coding problems |
| 24 | Focus | Deep-dive revision topics |
| 25 | Practice | Interview-style problem sets |
| 26 | Execution Context | Call stack, execution phases, TDZ |
| 27 | Snippets | Quick-reference code snippets |
git clone https://github.com/vishnu1845/Javascript.git
cd JavascriptOpen any folder — each file is self-contained and runnable directly in Node or the browser console.
| Repo | Description |
|---|---|
| Angular-21-playground | Angular 21 reference project — Signals, Standalone Components, Zoneless Change Detection |