---
title: "Discussion on \"What is Function in JavaScript?\" | Hashnode"
description: "Discussion on \"What is Function in JavaScript?\". Introduction to JavaScript functions and some of the ways to create them."
url: "https://hashnode.com/posts/what-is-function-in-javascript/61413c88c5f31102b885db04"
---

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

Discussion

# [What is Function in JavaScript?](https://harshitadaswani.hashnode.dev/what-is-function-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction to JavaScript functions and some of the ways to create them.

Sep 15, 2021 · 6 min read · harshitadaswani.hashnode.dev  
Read the article

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

## Written by

[Harshita Daswani](https://hashnode.com/@harshitadaswani)

@harshitadaswani

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

I explain with words and codes.

## Responses 1

Markdown supported · ⌘↵ to post

[Shubham Kumar](https://hashnode.com/@Shubhham)

[Sep 15, 2021](https://hashnode.com/posts/what-is-function-in-javascript/61413c88c5f31102b885db04/comment/6141930bc5f31102b885e55a)

great explanation in a simple way! harshita!! [this might be helpful too](https://javascript.info/function-basics)

[Harshita Daswani](https://hashnode.com/@harshitadaswani)

[Sep 18, 2021](https://hashnode.com/posts/what-is-function-in-javascript/61413c88c5f31102b885db04/comment/6141930bc5f31102b885e55a#reply-614530a5e1f56817e3605478)

Thankyou Shubham! :)
