---
title: "Discussion on \"Javascript Array Methods\" | Hashnode"
description: "Discussion on \"Javascript Array Methods\". Popular Es6 javscript array methods"
url: "https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc"
---

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

Discussion

# [Javascript Array Methods](https://dumebi.hashnode.dev/javascript-array-methods?utm_source=hashnode&utm_medium=feed)

Popular Es6 javscript array methods

Jul 29, 2023 · 4 min read · dumebi.hashnode.dev  
Updated Aug 1, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array-methods](https://hashnode.com/tag/array-methods)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Dumebi Okolo](https://hashnode.com/@DumebiO)

@DumebiO

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

Developer Relations Engineer

Every great bio starts with a story. I believe that I'm more of an experience. I am a Developer Relations Engineer with knowledge of the Frontend:HTML, CSS, React, Bootstrap and TailwindCSS; Backend: Solidity, ExpressJs, Nodejs. I am looking to transition to fully in the Developer Relations space.

## Responses 5

Markdown supported · ⌘↵ to post

[Chidiadi Anyanwu](https://hashnode.com/@chidiadi01)

[Aug 29, 2024](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/66d08cfa834752aa932be3ca)

Great article!

[Akash Raj](https://hashnode.com/@Akash161)

[Aug 15, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64db36b66203e95780d6566a)

I think there is a mistake in the 1st code which you have provided which is for map() method. Where you have written code for anonymous fn call in the return statement you are multiplying current element of array with 3 so the output would be \[ 3, 6, 9, 12, 15 \].

[Dumebi Okolo](https://hashnode.com/@DumebiO)

[Aug 15, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64db36b66203e95780d6566a#reply-64db37584429385b92800edb)

Hello 👋 Thank you for your observation. However, in the first code, the return statement had `return x*2`, which means that the elements in the array were multiplied by 2.

[Akash Raj](https://hashnode.com/@Akash161)

[Aug 15, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64db36b66203e95780d6566a#reply-64db59f46203e95780d65b1f)

But where you have used the arrow function it has x\*3 as the return statement right, so it will print multiple of 3 in the new array.

[Chidiadi Anyanwu](https://hashnode.com/@chidiadi01)

[Aug 29, 2024](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64db36b66203e95780d6566a#reply-66d08d97834752aa932be3d3)

[Dumebi Okolo](https://hashnode.com/@DumebiO) you actually wrote x\*3 in the second example. The anotherNumbersArray constant. That's what he's trying to say.

[Shivank Mitra](https://hashnode.com/@ventuscoder)

[Aug 10, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64d49d3f9dc2dd23463b0041)

Great content! Also, I've written an in-depth article about the 10 most powerful JavaScript array methods. I'd love it if you check out my article and also share it with others who will find it helpful! [shivankjshacker.hashnode.dev/10-powerful-javascri…](https://shivankjshacker.hashnode.dev/10-powerful-javascript-array-methods-you-need-to-know)

[Dumebi Okolo](https://hashnode.com/@DumebiO)

[Aug 10, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64d49d3f9dc2dd23463b0041#reply-64d4a308c8248b2334a6fdca)

I've read your article. Truly educational. I'd definitely be sharing with my network.

[Shivank Mitra](https://hashnode.com/@ventuscoder)

[Aug 10, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64d49d3f9dc2dd23463b0041#reply-64d5092225b3a02b80102255)

[Dumebi Okolo](https://hashnode.com/@DumebiO) Thanks so much!

[Adaobi Okolo](https://hashnode.com/@Ada89)

[Jul 30, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64c6ca46a55a1588fc2c8024)

Well done 😁

[odoemena daniel](https://hashnode.com/@DanielOdoemena)

[Jul 29, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64c561abb8b3207bc3ee5c75)

Great work!

[Dumebi Okolo](https://hashnode.com/@DumebiO)

[Jul 29, 2023](https://hashnode.com/posts/javascript-array-methods/64c50d5c74665a058d53d3dc/comment/64c561abb8b3207bc3ee5c75#reply-64c570fdb8b3207bc3ee5d93)

Thank you! 😁
