---
title: "Discussion on \"5 ways of creating an Array in JavaScript\" | Hashnode"
description: "Discussion on \"5 ways of creating an Array in JavaScript\". Let's have a look at 5 different ways of creating an Array in JavaScript"
url: "https://hashnode.com/posts/5-ways-of-creating-an-array-in-javascript/61d4b12d46e56e75ab374913"
---

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

Discussion

# [5 ways of creating an Array in JavaScript](https://marcostl.hashnode.dev/5-ways-of-creating-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

Let's have a look at 5 different ways of creating an Array in JavaScript

Jan 4, 2022 · 2 min read · marcostl.hashnode.dev  
Read the article

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

## Written by

[Marcos](https://hashnode.com/@marcostl)

@marcostl · Spain

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

Fullstack developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
