---
title: "Discussion on \"Functions In JavaScript (Expression vs Declaration)\" | Hashnode"
description: "Discussion on \"Functions In JavaScript (Expression vs Declaration)\". Function in programming language is a set of code which you can execute whenever you want. Function helps us in maintaining large code bases provides modularity in our code. DRY (Do Not Repeat) princi"
url: "https://hashnode.com/posts/functions-in-javascript-expression-vs-declaration/69b69229f4eb2f8b045bc873"
---

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

Discussion

# [Functions In JavaScript (Expression vs Declaration)](https://divakar29.hashnode.dev/functions-in-javascript-expression-vs-declaration?utm_source=hashnode&utm_medium=feed)

Function in programming language is a set of code which you can execute whenever you want. Function helps us in maintaining large code bases provides modularity in our code. DRY (Do Not Repeat) princi

Mar 15 · 5 min read · divakar29.hashnode.dev  
Updated Mar 29  
Read the article

-   [#functions](https://hashnode.com/tag/functions)
-   [#js](https://hashnode.com/tag/js)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chaicohort](https://hashnode.com/tag/chaicohort)
-   [#chai-code](https://hashnode.com/tag/chai-code)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#functions-in-js](https://hashnode.com/tag/functions-in-js)
-   [#function-declaration](https://hashnode.com/tag/function-declaration)
-   [#function-expressions](https://hashnode.com/tag/function-expressions)

## Written by

[Divakar](https://hashnode.com/@divakar29)

@divakar29

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
