# Javascript Variable Hoisting

DevFeed: [Javascript Variable Hoisting](<https://devfeed.tech/articles/javascript-variable-hoisting-37786.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/javascript-variable-hoisting/>)

Author: Carlos Alexandro Becker

Published: 2013-09-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [coding](<https://devfeed.tech/topics/coding.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [variables](<https://devfeed.tech/tags/variables.md>)

## AI overview

A tutorial explaining JavaScript variable hoisting, including how declarations are interpreted before execution and why declarations inside a function can affect observed values. It recommends manually organizing variable declarations to reduce confusion and maintenance errors.

## Source excerpt

This article is the second of a series of n articles, where n could be any given number between 1 and 2 (inclusive).