<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hoisting on Ghafoor's Personal Blog</title><link>https://ghafoorsblog.com/tags/hoisting/</link><description>Recent content in Hoisting on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>hello@ghafoorsblog.com (AG Sayyed)</managingEditor><webMaster>hello@ghafoorsblog.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Sun, 24 May 2026 09:13:13 +0100</lastBuildDate><atom:link href="https://ghafoorsblog.com/tags/hoisting/index.xml" rel="self" type="application/rss+xml"/><item><title>JavaScript Variables — let, const, var, Scope, and Hoisting</title><link>https://ghafoorsblog.com/posts/js/02-variables/</link><pubDate>Thu, 22 May 2025 08:00:00 +0000</pubDate><author>hello@ghafoorsblog.com (AG Sayyed)</author><guid>https://ghafoorsblog.com/posts/js/02-variables/</guid><description>&lt;p class="lead text-primary"&gt;
Modern JavaScript gives you three ways to declare a variable — const, let, and var — and only one of them is the right default. This post is the practical guide a working developer needs in 2026: a modern-first comparison, the rules of scope, the truth about hoisting and the temporal dead zone, naming conventions, and the small set of cases where the legacy var keyword still appears in the wild.
&lt;/p&gt;</description></item></channel></rss>