A collection of detailed notes and code examples from Season 1 & 2 of the Namaste JavaScript series by Akshay Saini.
Watch the full series:
- How JavaScript Works & Execution Context – Memory setup & code phases
- Code Execution & Call Stack – Order of execution & stack behavior
- Hoisting (variables & functions) – Understanding declaration lifting
- Functions & Variable Environments – Local vs global scope
- Shortest JS Program,
window&thisKeyword – Global objects deep dive undefinedvsnot defined– Difference & errors- Scope Chain, Scope & Lexical Environment – Identifier resolution
let,const& Temporal Dead Zone – Block-scoped behavior- Block Scope & Shadowing – Variable masking in nested blocks
- Closures – Functions retaining lexical scope
setTimeout+ Closures (Interview Q) – Common async pitfall- JavaScript Interview Deep Dive (Closures) – Q&A session
- First-Class & Anonymous Functions – JS function flexibility
- Callback Functions & Event Listeners – Asynchronous interactions
- Asynchronous JS & Event Loop – Microtasks, call stack & queue
- JS Engine & V8 Architecture – Internal JS workings
- Trust Issues with
setTimeout– Timing nuances - Higher-Order Functions – Functions taking/returning functions
map,filter,reduce– Core array helpers
- Callback Hell – Managing nested callbacks
- Promises – Introducing promise concept
- Creating Promises, Chaining & Error Handling – Control flow in async code
- Promise APIs (all, allSettled, race, any) – Utility combinators + interview Qs
async/await– Cleaner async syntaxthisKeyword in JavaScript – Context nuances in functions and methods
- Clone the repository:
git clone https://github.com/ankitadasz/Namaste_javaScript.git
- Browse through folders organized by season and episode.
- Explore notes and runnable code examples for each topic.
(Clean, concise & updated with official links.)