Understanding Scope & Hoisting in JavaScript (With Fun Examples)
When I first heard the words “Scope” and “Hoisting” in JavaScript, I honestly thought someone was talking about a space mission 🚀.Spoiler: it’s not rocket science — it’s just JavaScript deciding where your variables live and how it handles them befo...
blog.raveenawrites.com4 min read