---
title: "Discussion on \"Function Definition Vs Function Declaration\" | Hashnode"
description: "Discussion on \"Function Definition Vs Function Declaration\". Function Declaration\nFunction Declaration is a practice in which a function is created with a function keyword and can be called before the actual function is being written.\n//function declaration\nmyFunction();\nfunction myFunction(){\nconsole.log(\"Fun..."
url: "https://hashnode.com/posts/function-definition-vs-function-declaration/68e7edf4f7aeeb60425dd7e8"
---

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

Discussion

# [Function Definition Vs Function Declaration](https://neeltyper001.hashnode.dev/function-definition-vs-function-declaration?utm_source=hashnode&utm_medium=feed)

Function Declaration Function Declaration is a practice in which a function is created with a function keyword and can be called before the actual function is being written. //function declaration myFunction(); function myFunction(){ console.log("Fun...

Oct 9, 2025 · 1 min read · neeltyper001.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#function-definition](https://hashnode.com/tag/function-definition)
-   [#function-declaration](https://hashnode.com/tag/function-declaration)

## Written by

[Neelesh Joshi](https://hashnode.com/@Neeltyper001)

@Neeltyper001 · Uttarakhand, India

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

Fresher

Hi, am a passionate programmer and front-end web developer I am interested in problem solving

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
