---
title: "Discussion on \"Default parameters\" | Hashnode"
description: "Discussion on \"Default parameters\". Overview\nDefault parameters are one of the feature introduced in ES6 (the 6th version of ECMAScript). By using this feature developers can initialize a function parameter with a default value, if no value or “undefined” is passed as an argument to a ..."
url: "https://hashnode.com/posts/default-parameters/63eca97ae2aa25c9847d711c"
---

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

Discussion

# [Default parameters](https://bhavanas.io/default-parameters?utm_source=hashnode&utm_medium=feed)

Overview Default parameters are one of the feature introduced in ES6 (the 6th version of ECMAScript). By using this feature developers can initialize a function parameter with a default value, if no value or “undefined” is passed as an argument to a ...

Feb 15, 2023 · 3 min read · bhavanas.io  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#default-parameter](https://hashnode.com/tag/default-parameter)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[BHAVANA S](https://hashnode.com/@bhavi)

@bhavi

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

Write it,when you learn it

## Responses 2

Markdown supported · ⌘↵ to post

[Anand Baraik](https://hashnode.com/@anandbaraik)

[Feb 15, 2023](https://hashnode.com/posts/default-parameters/63eca97ae2aa25c9847d711c/comment/63ecc1943fa8ff4ff0096f0b)

A good read.

[BHAVANA S](https://hashnode.com/@bhavi)

[Feb 15, 2023](https://hashnode.com/posts/default-parameters/63eca97ae2aa25c9847d711c/comment/63ecc1943fa8ff4ff0096f0b#reply-63ecc2887cedde50200b758a)

Thanks 😊 Anand

[Kavitha M D](https://hashnode.com/@Kavithamd)

[Feb 15, 2023](https://hashnode.com/posts/default-parameters/63eca97ae2aa25c9847d711c/comment/63ecbde47cedde50200b7412)

Very good explanation Bhavana, keep going !!

[BHAVANA S](https://hashnode.com/@bhavi)

[Feb 15, 2023](https://hashnode.com/posts/default-parameters/63eca97ae2aa25c9847d711c/comment/63ecbde47cedde50200b7412#reply-63ecc24a7cedde50200b756c)

Thanks kavitha☺️
