---
title: "Discussion on \"JS Capsules: Arrays\" | Hashnode"
description: "Discussion on \"JS Capsules: Arrays\". What's an Array?\nAn array is a data structure used to store a collection of elements in an ordered form.\nlet myArray = [\"cheese\", \"milk\", true, 8, \"flamingo\"];\nAn array can store elements of different data types - strings, numbers, booleans, objects,..."
url: "https://hashnode.com/posts/js-capsules-arrays/61d3f93e46e56e75ab3732c4"
---

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

Discussion

# [JS Capsules: Arrays](https://dpkreativ.hashnode.dev/js-capsules-arrays?utm_source=hashnode&utm_medium=feed)

What's an Array? An array is a data structure used to store a collection of elements in an ordered form. let myArray = \["cheese", "milk", true, 8, "flamingo"\]; An array can store elements of different data types - strings, numbers, booleans, objects,...

Jan 4, 2022 · 2 min read · dpkreativ.hashnode.dev  
Updated Jul 7, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Divine Orji](https://hashnode.com/@dpkreativ)

@dpkreativ

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

Software Engineer

I am a software engineer passionate about building fast, scalable apps with beautiful user interfaces.

## Responses 3

Markdown supported · ⌘↵ to post

[Sophia Iroegbu](https://hashnode.com/@Sophyia)

[Jan 4, 2022](https://hashnode.com/posts/js-capsules-arrays/61d3f93e46e56e75ab3732c4/comment/61d45ec0220e987977669129)

Beautiful write-up. Thanks for this.

[Ekeoma Victor](https://hashnode.com/@Light2000)

[Jan 4, 2022](https://hashnode.com/posts/js-capsules-arrays/61d3f93e46e56e75ab3732c4/comment/61d411e446e56e75ab37362c)

Great work 🙌🙌

[Njezi John Chigozie](https://hashnode.com/@njeziofficial)

[Jan 4, 2022](https://hashnode.com/posts/js-capsules-arrays/61d3f93e46e56e75ab3732c4/comment/61d403db98628373c7a05d27)

This is short, precise and very concise. Great in this. We await more with glee.
