---
title: "Discussion on \"Arrays in JavaScript\" | Hashnode"
description: "Discussion on \"Arrays in JavaScript\". Introduction to arrays\nAn array is a data type that stores the data contiguously. Generally, arrays are used to store collections of different types such as numbers, strings, objects, etc. \nThe syntax to declare an array:\nconst array1=[Element1,Eleme..."
url: "https://hashnode.com/posts/arrays-in-javascript/62d921d6e3738c59b0b77645"
---

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

Discussion

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

Introduction to arrays An array is a data type that stores the data contiguously. Generally, arrays are used to store collections of different types such as numbers, strings, objects, etc. The syntax to declare an array: const array1=\[Element1,Eleme...

Jul 21, 2022 · 4 min read · vigneshsadhu.hashnode.dev  
Read the article

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

## Written by

[Vignesh Sadhu](https://hashnode.com/@vignesh21)

@vignesh21 · Hyderabad, India

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

18 | Learning FrontEnd Development | DSA

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
