---
title: "Discussion on \"Understanding Default, Rest parameters and Spread Operators in JavaScript.\" | Hashnode"
description: "Discussion on \"Understanding Default, Rest parameters and Spread Operators in JavaScript.\". Before  we begin explaining , it is important to know what it is that parameters can default to. Because of this, we will first review the difference between arguments and parameters in a function.\nIn the following code block, we create a function th..."
url: "https://hashnode.com/posts/understanding-default-rest-parameters-and-spread-operators-in-javascript/6169c3ca18374f257327afaa"
---

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

Discussion

# [Understanding Default, Rest parameters and Spread Operators in JavaScript.](https://dev-pat0.hashnode.dev/understanding-default-rest-parameters-and-spread-operators-in-javascript?utm_source=hashnode&utm_medium=feed)

Before we begin explaining , it is important to know what it is that parameters can default to. Because of this, we will first review the difference between arguments and parameters in a function. In the following code block, we create a function th...

Oct 15, 2021 · 3 min read · dev-pat0.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners-learningtocode-100daysofcode](https://hashnode.com/tag/beginners-learningtocode-100daysofcode)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Pato Codes](https://hashnode.com/@pat0)

@pat0 · Kenya

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

Aspiring Web Developer and UI designer.

Welcome !🚀 Let me take you through my journey as a web developer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
