Functions & Scope — Roadmap Step & Resources
Function declarations vs expressions, arrow functions, closures, scope and hoisting
- Level: beginner
- Estimated time: 2 days
- Roadmap: React Native
Before this step
Mini projects
- Build a simple calculator using functions
Interview questions
- What is a closure?
- Explain hoisting in JavaScript
Study resources
- JavaScript Closures Simplified (Video) — Web Dev Simplified's much-loved explanation of scope and closures using simple, visual examples.
- Functions (Article) — javascript.info's chapter on function declarations, expressions and scope.
- JavaScript Functions Guide (Article) — MDN's in-depth guide covering arrow functions, parameters, closures, and call stack execution context.
Part of
- JavaScript — section
- React Native roadmap — the full learning path