---
title: "Discussion on \"Functions in js:\" | Hashnode"
description: "Discussion on \"Functions in js:\". Functions are nothing but a block of reusable code. used to simplify the whole codebase. let us discuss with an example and realize the syntax.\n//write a function to geet someone: \nconst greet = function(name) {\n    console.log(\"Hello, \" + name + \"!\"..."
url: "https://hashnode.com/posts/functions-in-js/65edfd76b0e6c870a799e115"
---

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

Discussion

# [Functions in js:](https://jithtc.hashnode.dev/functions-in-js?utm_source=hashnode&utm_medium=feed)

Functions are nothing but a block of reusable code. used to simplify the whole codebase. let us discuss with an example and realize the syntax. //write a function to geet someone: const greet = function(name) { console.log("Hello, " + name + "!"...

Mar 10, 2024 · 2 min read · jithtc.hashnode.dev  
Read the article

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

## Written by

[Jeet kangsabanik](https://hashnode.com/@yourjit)

@yourjit · kolkata, India

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

Hi,i am jeet,from India.

I am jeet , experienced full-stack developer proficient in HTML, CSS, JavaScript, React, MongoDB, MySQL, and Express.js. Dedicated to creating innovative and robust web and mobile applications with a keen eye for design and security.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
