---
title: "Discussion on \"JavaScript Functions\" | Hashnode"
description: "Discussion on \"JavaScript Functions\". A JavaScript function is a block of code designed to perform a particular task.\nA JavaScript function is executed when \"something\" invokes it (calls it).\nJavaScript Function Syntax\nA JavaScript function is defined with the function keyword, followed ..."
url: "https://hashnode.com/posts/javascript-functions/63c2be24dcb0892a1a6dd6fc"
---

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

Discussion

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

A JavaScript function is a block of code designed to perform a particular task. A JavaScript function is executed when "something" invokes it (calls it). JavaScript Function Syntax A JavaScript function is defined with the function keyword, followed ...

Jan 14, 2023 · 2 min read · shekharcodes.hashnode.dev  
Read the article

-   [#js](https://hashnode.com/tag/js)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#js-functions](https://hashnode.com/tag/js-functions)

## Written by

[Dewang Shekhar](https://hashnode.com/@shekharr)

@shekharr · India

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

full time coder, part-time explorer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
