---
title: "Discussion on \"JavaScript - USe .map(), .reduce(), and filter()\" | Hashnode"
description: "Discussion on \"JavaScript - USe .map(), .reduce(), and filter()\". .map()\nLet me explain how it works with a simple example. Say you have received an array containing multipe objects each one representing a person. The thing you really need in the end, though, is an array containing only the id of each person.\n// Wh..."
url: "https://hashnode.com/posts/javascript-use-map-reduce-and-filter/5f7c79011ee3b5689f3271ff"
---

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

Discussion

# [JavaScript - USe .map(), .reduce(), and filter()](https://sisrar.com/javascript-use-map-reduce-and-filter?utm_source=hashnode&utm_medium=feed)

.map() Let me explain how it works with a simple example. Say you have received an array containing multipe objects each one representing a person. The thing you really need in the end, though, is an array containing only the id of each person. // Wh...

Oct 6, 2020 · 5 min read · sisrar.com  
Read the article

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

## Written by

[shaikh israr](https://hashnode.com/@sisrar5)

@sisrar5

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

I am still learning

Programmer | Technical Blogger | YouTuber | Passionate about learning new stuffs | Like to read

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
