---
title: "Discussion on \"Arrays in JavaScript - Learn JavaScript\" | Hashnode"
description: "Discussion on \"Arrays in JavaScript - Learn JavaScript\". Array\nYou may know that a variable can store only a value at a time, for example,(  var student = \"jack\", )this is totally fine and we may use it many times while building a project, however, sometimes it is required to collect many values in a singl..."
url: "https://hashnode.com/posts/arrays-in-javascript-learn-javascript/61d3189cd335286be6cde72b"
---

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

Discussion

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

Array You may know that a variable can store only a value at a time, for example,( var student = "jack", )this is totally fine and we may use it many times while building a project, however, sometimes it is required to collect many values in a singl...

Jan 3, 2022 · 5 min read · zahabkakar.hashnode.dev  
Updated Jan 26, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#js](https://hashnode.com/tag/js)

## Written by

[Zahab kakar](https://hashnode.com/@zahabkakar)

@zahabkakar

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

## Responses 1

Markdown supported · ⌘↵ to post

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jan 4, 2022](https://hashnode.com/posts/arrays-in-javascript-learn-javascript/61d3189cd335286be6cde72b/comment/61d40e5d98628373c7a05e5a)

[Zahab kakar](https://hashnode.com/@zahabkakar), Nice. You have captured things in one place. You may want to add `fill()` and `flat()` methods too. These are used widely as well. Great job.

[Zahab kakar](https://hashnode.com/@zahabkakar)

[Jan 26, 2022](https://hashnode.com/posts/arrays-in-javascript-learn-javascript/61d3189cd335286be6cde72b/comment/61d40e5d98628373c7a05e5a#reply-61f10f3d87fd2728e7cd522b)

Thank you [Tapas Adhikary](https://hashnode.com/@atapas), glad you liked it :)

I just edited the article and added the fill() and flat() methods.
