---
title: "Discussion on \"Arrays in JavaScript\" | Hashnode"
description: "Discussion on \"Arrays in JavaScript\". Arrays are a way to store a list of data items under a single variable name, where each value inside the list can be accessed individually.\nSyntax to create an array:\nconst array_name = [item1, item2, ...];\nor\nconst array_name = new Array(item1, item..."
url: "https://hashnode.com/posts/arrays-in-javascript/63656f53f56b98b1f770a9be"
---

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

Discussion

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

Arrays are a way to store a list of data items under a single variable name, where each value inside the list can be accessed individually. Syntax to create an array: const array\_name = \[item1, item2, ...\]; or const array\_name = new Array(item1, item...

Nov 4, 2022 · 1 min read · pranavmathur.hashnode.dev  
Read the article

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

## Written by

[Pranav Mathur](https://hashnode.com/@pmat101)

@pmat101

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
