---
title: "Discussion on \"Javascript Functions\" | Hashnode"
description: "Discussion on \"Javascript Functions\". What is a Function in JavaScript?\nA function is a block of reusable code written to perform a specific task.You can think of a function as a sub-program within the main program. A function consists of a set of statements but executes as a single unit..."
url: "https://hashnode.com/posts/javascript-functions/642164df55d328480f14fa74"
---

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

Discussion

# [Javascript Functions](https://navdeep167.hashnode.dev/javascript-functions?utm_source=hashnode&utm_medium=feed)

What is a Function in JavaScript? A function is a block of reusable code written to perform a specific task.You can think of a function as a sub-program within the main program. A function consists of a set of statements but executes as a single unit...

Mar 27, 2023 · 2 min read · navdeep167.hashnode.dev  
Read the article

-   [#iwritecode](https://hashnode.com/tag/iwritecode)

## Written by

[Navdeep Singh](https://hashnode.com/@navdeep16729)

@navdeep16729 · India

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

Passionate FrontEnd Developer with a keen eye on detail

I am FrontEnd Developer with around 2 years experience. I am currently working with Tata Consultancy Services. I have a strong comptency in HTML, CSS, JavaScript, VueJs, ReactJs

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
