---
title: "Discussion on \"JS Bits - Destructuring arrays in JavaScript!\" | Hashnode"
description: "Discussion on \"JS Bits - Destructuring arrays in JavaScript!\". Destructuring\nDestructuring is a JavaScript expression that makes it possible to unpack values from arrays, or properties from objects, into distinct variables. (https://dev.to/sarah_chima/destructuring-assignment---arrays-16f)\nRather than getting a ..."
url: "https://hashnode.com/posts/js-bits-destructuring-arrays-in-javascript/5f6611286dfc523d0a89342c"
---

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

Discussion

# [JS Bits - Destructuring arrays in JavaScript!](https://blog.sedat.dev/js-bits-destructuring-arrays-in-javascript?utm_source=hashnode&utm_medium=feed)

Destructuring Destructuring is a JavaScript expression that makes it possible to unpack values from arrays, or properties from objects, into distinct variables. (https://dev.to/sarah\_chima/destructuring-assignment---arrays-16f) Rather than getting a ...

Sep 19, 2020 · 3 min read · blog.sedat.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#arrays](https://hashnode.com/tag/arrays)
-   [#developer](https://hashnode.com/tag/developer)
-   [#learn-coding](https://hashnode.com/tag/learn-coding)

## Written by

[Sedat Can Yalçın](https://hashnode.com/@sedatcyalcin)

@sedatcyalcin

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

Software Engineer

## Responses 1

Markdown supported · ⌘↵ to post

[Sudarshan N](https://hashnode.com/@sudarshannavada)

[Sep 19, 2020](https://hashnode.com/posts/js-bits-destructuring-arrays-in-javascript/5f6611286dfc523d0a89342c/comment/5f662b0e6dfc523d0a89358d)

Can you please give some real time use cases of destructuring arrays.

[Sedat Can Yalçın](https://hashnode.com/@sedatcyalcin)

[Sep 20, 2020](https://hashnode.com/posts/js-bits-destructuring-arrays-in-javascript/5f6611286dfc523d0a89342c/comment/5f662b0e6dfc523d0a89358d#reply-5f67bc1835d6463d2b5f8fcd)

Hey, I'm not sure what you mean by 'real time use cases' but destructuring allows us to make various operations in a cleaner way. Rather than writing many lines of variable declarations, and also null checking if you need to. With destructuring you can make the same operations in a more concise and easy to read way in fewer lines of code.
