---
title: "Discussion on \"Filter(),Map(),Reduce() in Javascript.\" | Hashnode"
description: "Discussion on \"Filter(),Map(),Reduce() in Javascript.\". Filter:\n\nDefinition: The filter() method creates a shallow copy of a portion of an array, based on a provided function.\n\nExample 1:\n  const words = ['spray', 'elite', 'exuberant', 'destruction', 'present'];\n  const result = words.filter((word) => wor..."
url: "https://hashnode.com/posts/filtermapreduce-in-javascript/657a83f8e26dfea3838d1665"
---

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

Discussion

# [Filter(),Map(),Reduce() in Javascript.](https://tech2say.hashnode.dev/filtermapreduce-in-javascript?utm_source=hashnode&utm_medium=feed)

Filter: Definition: The filter() method creates a shallow copy of a portion of an array, based on a provided function. Example 1: const words = \['spray', 'elite', 'exuberant', 'destruction', 'present'\]; const result = words.filter((word) => wor...

Dec 14, 2023 · 2 min read · tech2say.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Jatin Sharma](https://hashnode.com/@jatin4224)

@jatin4224

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

🧑🏻‍💻

Aspiring Full-Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
