---
title: "Discussion on \"Arrays in JavaScript\" | Hashnode"
description: "Discussion on \"Arrays in JavaScript\". What is an Array?\nArray is a data structure that is used to store a collection of multiple items in a single variable. The collection can have any type of data such as string, number, boolean, etc.\nExample\nconst array1 = [\"Hello\", 10, 20, \"World\", tr..."
url: "https://hashnode.com/posts/arrays-in-javascript/630a4b1738843b7139786693"
---

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

Discussion

# [Arrays in JavaScript](https://nisarg18.hashnode.dev/arrays-in-javascript?utm_source=hashnode&utm_medium=feed)

What is an Array? Array is a data structure that is used to store a collection of multiple items in a single variable. The collection can have any type of data such as string, number, boolean, etc. Example const array1 = \["Hello", 10, 20, "World", tr...

Aug 27, 2022 · 7 min read · nisarg18.hashnode.dev  
Read the article

-   [#iwritecode](https://hashnode.com/tag/iwritecode)
-   [#learncodeonline](https://hashnode.com/tag/learncodeonline)

## Written by

[Nisarg Shah](https://hashnode.com/@nisarg18)

@nisarg18 · Vadodara, Gujarat

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

Developer

Flutter Developer, On a journey to learn Full-Stack Web.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
