---
title: "Comment by Sudarshan N on \"JS Bits - Destructuring arrays in JavaScript!\" | Hashnode"
description: "Can you please give some real time use cases of destructuring arrays."
url: "https://hashnode.com/posts/js-bits-destructuring-arrays-in-javascript/5f6611286dfc523d0a89342c/comment/5f662b0e6dfc523d0a89358d"
---

[Discussion](https://hashnode.com/posts/js-bits-destructuring-arrays-in-javascript/5f6611286dfc523d0a89342c)

Comment [JS Bits - Destructuring arrays in JavaScript!](https://hashnode.com/posts/js-bits-destructuring-arrays-in-javascript/5f6611286dfc523d0a89342c)

[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.
