---
title: "Discussion on \"Different ways to create Arrays in JavaScript\" | Hashnode"
description: "Discussion on \"Different ways to create Arrays in JavaScript\". In most of the programming languages, A collection of a certain finite number of items is an Array. Or the Sets in the Mathematics.\nIn JavaScript as well, there are many ways to create arrays. We will be taking a look into some of them to create Arra..."
url: "https://hashnode.com/posts/different-ways-to-create-arrays-in-javascript/5e42674e50ec08e61489d2ca"
---

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

Discussion

# [Different ways to create Arrays in JavaScript](https://blog.pankaj.pro/different-ways-to-create-arrays-in-javascript?utm_source=hashnode&utm_medium=feed)

In most of the programming languages, A collection of a certain finite number of items is an Array. Or the Sets in the Mathematics. In JavaScript as well, there are many ways to create arrays. We will be taking a look into some of them to create Arra...

Feb 11, 2020 · blog.pankaj.pro  
Read the article

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

## Written by

[Pankaj Patel](https://hashnode.com/@pankajpatel)

@pankajpatel · Berlin

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

Blog, Tech, Photography etc.

I am developer from India currently based in Berlin, Germany. I am very interested in Design, though I don't design 😉 I take care of it while making my apps. Photography, videography and having random conversation over beer are my activities of spare time. Timelapses and hyperlapses make me wonder all the time 😊

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
