---
title: "Discussion on \"Javascript - forEach vs map method in Arrays\" | Hashnode"
description: "Discussion on \"Javascript - forEach vs map method in Arrays\". In this article, we will discuss the use of two different inbuilt methods forEach and map and compare them."
url: "https://hashnode.com/posts/javascript-foreach-vs-map-method-in-arrays/6065eed5602838220343dcbf"
---

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

Discussion

# [Javascript - forEach vs map method in Arrays](https://shikhardev.hashnode.dev/javascript-foreach-vs-map-method-in-arrays?utm_source=hashnode&utm_medium=feed)

In this article, we will discuss the use of two different inbuilt methods forEach and map and compare them.

Apr 1, 2021 · 3 min read · shikhardev.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array-methods](https://hashnode.com/tag/array-methods)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#web-performance](https://hashnode.com/tag/web-performance)

## Written by

[Shikhar Saxena](https://hashnode.com/@shikhardev)

@shikhardev

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

Software Engineer

Just a JS lover trying to learn in public.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
