---
title: "Discussion on \"Destructuring Assignment In A Function Parameter\" | Hashnode"
description: "Discussion on \"Destructuring Assignment In A Function Parameter\". Have you ever passed an argument as a null or undefined in a function? Since ES2015 (aka ES6) you don’t have to. You can use JavaScript destructuring.\nUse Case\nWe all have this Utils.js file in our projects where we have all kinds of functions that w..."
url: "https://hashnode.com/posts/destructuring-assignment-in-a-function-parameter/5fc0bfc7bb598f4cdfabf304"
---

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

Discussion

# [Destructuring Assignment In A Function Parameter](https://blog.eligarlo.dev/destructuring-assignment-in-a-function-parameter?utm_source=hashnode&utm_medium=feed)

Have you ever passed an argument as a null or undefined in a function? Since ES2015 (aka ES6) you don’t have to. You can use JavaScript destructuring. Use Case We all have this Utils.js file in our projects where we have all kinds of functions that w...

Nov 27, 2020 · 4 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

Markdown supported · ⌘↵ to post

No responses yet.
