---
title: "Discussion on \"JavaScript Functions — Declarations, Expressions, and the Hoisting Surprise\" | Hashnode"
description: "Discussion on \"JavaScript Functions — Declarations, Expressions, and the Hoisting Surprise\". Master JavaScript functions! Learn the difference between declarations and expressions, and why hoisting lets some code run before it's defined."
url: "https://hashnode.com/posts/javascript-functions-declarations-expressions-and-the-hoisting-surprise/69ff754ff239332df4e12c67"
---

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

Discussion

# [JavaScript Functions — Declarations, Expressions, and the Hoisting Surprise](https://orion-blogs.hashnode.dev/javascript-functions-declarations-expressions-and-the-hoisting-surprise?utm_source=hashnode&utm_medium=feed)

Master JavaScript functions! Learn the difference between declarations and expressions, and why hoisting lets some code run before it's defined.

May 9 · 8 min read · orion-blogs.hashnode.dev  
Read the article

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

## Written by

[Abhishek Kumar](https://hashnode.com/@-ORioN)

@\-ORioN

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

Do Nothing

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
