---
title: "Discussion on \"All you need to know about Destructuring in javascript\" | Hashnode"
description: "Discussion on \"All you need to know about Destructuring in javascript\". Destructuring is a way you can extract data from arrays or objects and give them a name.\nlet's imagine I have an array like this:\nconst names = [\"Emeka\", \"Felicia\", \"Kayla\", \"Nancy\"];\n\nI may want to put the first value in a variable. We can say:\ncons..."
url: "https://hashnode.com/posts/all-you-need-to-know-about-destructuring-in-javascript/64ce4c1c80cf97674281da6c"
---

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

Discussion

# [All you need to know about Destructuring in javascript](https://codeway.hashnode.dev/all-you-need-to-know-about-destructuring-in-javascript?utm_source=hashnode&utm_medium=feed)

Destructuring is a way you can extract data from arrays or objects and give them a name. let's imagine I have an array like this: const names = \["Emeka", "Felicia", "Kayla", "Nancy"\]; I may want to put the first value in a variable. We can say: cons...

Aug 5, 2023 · 2 min read · codeway.hashnode.dev  
Read the article

## Written by

[Abarah Lawence](https://hashnode.com/@codeWay)

@codeWay · Lagos

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

I am a software frontend developer and a problem solver and always passionate about learning new skills

I am a Software Engineer from Lagos, Nigeria.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
