---
title: "Discussion on \"JavaScript Function Syntax\" | Hashnode"
description: "Discussion on \"JavaScript Function Syntax\". Function declaration\nfunction multiply(a, b) {\n    return a * b; \n}\n\nFunction declarations are a common in JavaScript, they are hoisted in that they can be declared after they are called like this:\nconst result = multiply(5, 5);\n\nfunction multiply(a,..."
url: "https://hashnode.com/posts/javascript-function-syntax/6716a2ba68ecd9e67f4b68f3"
---

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

Discussion

# [JavaScript Function Syntax](https://codesteep.hashnode.dev/javascript-function-syntax?utm_source=hashnode&utm_medium=feed)

Function declaration function multiply(a, b) { return a \* b; } Function declarations are a common in JavaScript, they are hoisted in that they can be declared after they are called like this: const result = multiply(5, 5); function multiply(a,...

Oct 21, 2024 · 2 min read · codesteep.hashnode.dev  
Read the article

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

## Written by

[Brandon Feinstein](https://hashnode.com/@SaulFein)

@SaulFein

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
