---
title: "Discussion on \"Destructuring JavaScript Arrays Object(ively)\" | Hashnode"
description: "Discussion on \"Destructuring JavaScript Arrays Object(ively)\". TL;DR\nSince JavaScript arrays are basically objects (with special behavior for index properties), they are valid targets for object destructuring. Hence, making the following destructuring statements equivalent.\n// Array to be destructured\nconst RGB ..."
url: "https://hashnode.com/posts/destructuring-javascript-arrays-objectively/5f9c36e5b309125fbb619741"
---

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

Discussion

# [Destructuring JavaScript Arrays Object(ively)](https://glad.hashnode.dev/destructuring-javascript-arrays-objectively?utm_source=hashnode&utm_medium=feed)

TL;DR Since JavaScript arrays are basically objects (with special behavior for index properties), they are valid targets for object destructuring. Hence, making the following destructuring statements equivalent. // Array to be destructured const RGB ...

Oct 30, 2020 · 8 min read · glad.hashnode.dev  
Read the article

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

## Written by

[Glad Chinda](https://hashnode.com/@gladchinda)

@gladchinda · Lagos, Nigeria

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

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
