---
title: "Discussion on \"Functions\" | Hashnode"
description: "Discussion on \"Functions\". functions are used to automate repetitive tasks. functions can only be executed when someone invokes it (calls it). you can use functions anywhere inside of code just like variables.\nSyntax:\nfunctions are declared by using the function keyword, follo..."
url: "https://hashnode.com/posts/functions/63f454c32fc4fff4e2bb7947"
---

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

Discussion

# [Functions](https://paarthmane.hashnode.dev/functions?utm_source=hashnode&utm_medium=feed)

functions are used to automate repetitive tasks. functions can only be executed when someone invokes it (calls it). you can use functions anywhere inside of code just like variables. Syntax: functions are declared by using the function keyword, follo...

Feb 21, 2023 · 1 min read · paarthmane.hashnode.dev  
Read the article

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

## Written by

[Parth](https://hashnode.com/@paarthmane)

@paarthmane

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

I'm a amateur web developer who knows little bit about programming !!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
