---
title: "Discussion on \"What is Hosting in JavaScript?\" | Hashnode"
description: "Discussion on \"What is Hosting in JavaScript?\". There’s a misconception most people have about hoisting in JavaScript, but I'm about to clear the myth. Hoisting allows you to use variables and functions before they are declared and most people think that hoisting only works with variables declared..."
url: "https://hashnode.com/posts/what-is-hosting-in-javascript/64560d576c20620ffb34836e"
---

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

Discussion

# [What is Hosting in JavaScript?](https://zainabibrahim.com/what-is-hosting-in-javascript?utm_source=hashnode&utm_medium=feed)

There’s a misconception most people have about hoisting in JavaScript, but I'm about to clear the myth. Hoisting allows you to use variables and functions before they are declared and most people think that hoisting only works with variables declared...

May 6, 2023 · 3 min read · zainabibrahim.com  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Zainab Ibrahim](https://hashnode.com/@Zainabibrahim)

@Zainabibrahim · Lagos, Nigeria

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

I am a Software Engineer and a Technical Writer

I am a Software Engineer and a Technical Writer

## Responses 1

Markdown supported · ⌘↵ to post

[Mitchel Inaju](https://hashnode.com/@Mitchelinaju)

[Jun 3, 2023](https://hashnode.com/posts/what-is-hosting-in-javascript/64560d576c20620ffb34836e/comment/647aec5bbb94fdff87221229)

This was a nicely written article, thanks for writing this zainab

[Zainab Ibrahim](https://hashnode.com/@Zainabibrahim)

[Jun 6, 2023](https://hashnode.com/posts/what-is-hosting-in-javascript/64560d576c20620ffb34836e/comment/647aec5bbb94fdff87221229#reply-647f23dccff67d25109eb1ae)

Thank you.
