---
title: "Discussion on \"Array Methods\" | Hashnode"
description: "Discussion on \"Array Methods\". Array.prototype.map()\nPurpose:Iterate through array elements and call a callback function for each element and store the result in a new modified array.\nSyntax: map(callbackFn)\nCallback Function parameters:element,index,array\nReturn value:Returns a n..."
url: "https://hashnode.com/posts/array-methods/69898be8ba0a0e06a3aef6f2"
---

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

Discussion

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

Array.prototype.map() Purpose:Iterate through array elements and call a callback function for each element and store the result in a new modified array. Syntax: map(callbackFn) Callback Function parameters:element,index,array Return value:Returns a n...

Feb 9 · 4 min read · hof-and-array-methods.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array](https://hashnode.com/tag/array)
-   [#array-methods](https://hashnode.com/tag/array-methods)
-   [#higher-order-functions](https://hashnode.com/tag/higher-order-functions)
-   [#arrays](https://hashnode.com/tag/arrays)

## Written by

[Udit Rohila](https://hashnode.com/@uditrohila)

@uditrohila

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
