---
title: "Discussion on \"Default Function Parameters\" | Hashnode"
description: "Discussion on \"Default Function Parameters\". We always have to validate if the arguments passed in a function have a value or they are undefined but, do we really?\nIntroduction\nIn my last post, I talked about Destructuring Assignment In A Function Parameter and why it is handy when you have opt..."
url: "https://hashnode.com/posts/default-function-parameters/5fce0475c5255915c49a8724"
---

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

Discussion

# [Default Function Parameters](https://blog.eligarlo.dev/default-function-parameters?utm_source=hashnode&utm_medium=feed)

We always have to validate if the arguments passed in a function have a value or they are undefined but, do we really? Introduction In my last post, I talked about Destructuring Assignment In A Function Parameter and why it is handy when you have opt...

Dec 7, 2020 · 3 min read · blog.eligarlo.dev  
Read the article

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

## Written by

[Eliahu Garcia Lozano](https://hashnode.com/@eligarlo)

@eligarlo

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

Web Developer

Web Developer | React.js | JavaScript | Check out my blog: https://blog.eligarlo.dev

## Responses 1

Markdown supported · ⌘↵ to post

[Francesco Ciulla](https://hashnode.com/@FrancescoCiulla)

[Dec 7, 2020](https://hashnode.com/posts/default-function-parameters/5fce0475c5255915c49a8724/comment/5fce78ebded61e1bd07e8eef)

Keep going man!!!

[Eliahu Garcia Lozano](https://hashnode.com/@eligarlo)

[Dec 7, 2020](https://hashnode.com/posts/default-function-parameters/5fce0475c5255915c49a8724/comment/5fce78ebded61e1bd07e8eef#reply-5fce82c1ded61e1bd07e8f9e)

Thanks a lot, Francesco!
