---
title: "Discussion on \"Hoisting in JavaScript\" | Hashnode"
description: "Discussion on \"Hoisting in JavaScript\". We can access variables and functions in JS without any error before their initialization."
url: "https://hashnode.com/posts/hoisting-in-javascript/620a633b4e82f0219d8f9b49"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Hoisting in JavaScript](https://blogs.aakanksha.is-a.dev/hoisting-in-javascript?utm_source=hashnode&utm_medium=feed)

We can access variables and functions in JS without any error before their initialization.

Sep 4, 2022 · 4 min read · blogs.aakanksha.is-a.dev  
Updated Dec 28, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)
-   [#hoisting](https://hashnode.com/tag/hoisting)
-   [#interview](https://hashnode.com/tag/interview)
-   [#es6](https://hashnode.com/tag/es6)

## Written by

[Aakanksha Bhende](https://hashnode.com/@aakankshabhende)

@aakankshabhende · India

  
[View profile](https://hashnode.com/@aakankshabhende)

Engineering @Red Hat • Kubernetes Release Team • LiFT Scholar'23 • GitHub Campus Expert • Open Source Enthusiast • Mentor

Software Engineer | Open Source Enthusiast | Mentor | Learner I love documenting stuff that I come across and find interesting. Hoping that you will love reading it and get to know something new :)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
