---
title: "Discussion on \"Functions in JavaScript\" | Hashnode"
description: "Discussion on \"Functions in JavaScript\". In this blog, we will learn about functions like any other programming language JavaScript also has functions that help us to perform the same task again and again without writing the same code again. \n1. Function\n​Syntax: \n\n\nfunctionName = Name of t..."
url: "https://hashnode.com/posts/functions-in-javascript/61da84b4cda0d0294b6976f1"
---

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

Discussion

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

In this blog, we will learn about functions like any other programming language JavaScript also has functions that help us to perform the same task again and again without writing the same code again. 1. Function ​Syntax: functionName = Name of t...

Jan 9, 2022 · 3 min read · vanshsharma.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#functions](https://hashnode.com/tag/functions)

## Written by

[Vansh Sharma](https://hashnode.com/@vanshsharma)

@vanshsharma · India

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

Frontend Engineer || Educative Author

Hello, I'm a Frontend engineer with a passion for learning new tech, writing blogs, and sharing my knowledge with others. Apart from coding, I love staying up-to-date with the latest trends and tools in the tech industry. I'm always learning and exploring new technologies and techniques to improve my work and create more efficient and scalable solutions. I enjoy sharing my knowledge with others through writing blogs and creating courses. Recently, I created a course for Educative on React. As a freelancer, I'm seeking projects related to Shopify and React. I enjoy working on projects that challenge me and help me grow as a developer.

## Responses 1

Markdown supported · ⌘↵ to post

[John Palmgren](https://hashnode.com/@JohnPalmgren)

[Jan 9, 2022](https://hashnode.com/posts/functions-in-javascript/61da84b4cda0d0294b6976f1/comment/61da86aacda0d0294b697727)

Great post Vansh. I didn't know about Hoisting. Are there any other differences between regular functions and arrow functions? I've heard that there are but I don't know what they are.

[Vansh Sharma](https://hashnode.com/@vanshsharma)

[Jan 9, 2022](https://hashnode.com/posts/functions-in-javascript/61da84b4cda0d0294b6976f1/comment/61da86aacda0d0294b697727#reply-61daa04fcda0d0294b697a51)

Thanks, John Yes, there are other differences also like "this" keyword, argument object.

To know more you can read this post [dmitripavlutin.com/differences-between-arrow-and-…](https://dmitripavlutin.com/differences-between-arrow-and-regular-functions/)
