DEV Community

talent
talent

Posted on

2

Javascript map()method

๐Ÿ’ก ๐Ÿฏ ๐—บ๐—ฎ๐—ถ๐—ป ๐˜‚๐˜€๐—ฒ-๐—ฐ๐—ฎ๐˜€๐—ฒ๐˜€ ๐—ผ๐—ณ ๐—บ๐—ฎ๐—ฝ( ) ๐—บ๐—ฒ๐˜๐—ต๐—ผ๐—ฑ

โœ”๏ธ ๐˜œ๐˜ด๐˜ฆ๐˜ฅ ๐˜ง๐˜ฐ๐˜ณ ๐˜ณ๐˜ฆ๐˜ฏ๐˜ฅ๐˜ฆ๐˜ณ๐˜ช๐˜ฏ๐˜จ ๐˜ข ๐˜ญ๐˜ช๐˜ด๐˜ต ๐˜ฐ๐˜ง ๐˜ฅ๐˜ข๐˜ต๐˜ข ๐˜ต๐˜ฐ ๐˜ต๐˜ฉ๐˜ฆ ๐˜‹๐˜ฐ๐˜ฎ ๐˜ช๐˜ฏ ๐˜™๐˜ฆ๐˜ข๐˜ค๐˜ต

โœ”๏ธ๐˜œ๐˜ด๐˜ฆ๐˜ฅ ๐˜ต๐˜ฐ ๐˜ฎ๐˜ฐ๐˜ฅ๐˜ช๐˜ง๐˜บ ๐˜ข๐˜ฏ ๐˜ฆ๐˜ญ๐˜ฆ๐˜ฎ๐˜ฆ๐˜ฏ๐˜ต ๐˜ช๐˜ฏ ๐˜ข๐˜ณ๐˜ณ๐˜ข๐˜บ ๐˜ฅ๐˜ฆ๐˜ฑ๐˜ฆ๐˜ฏ๐˜ฅ๐˜ช๐˜ฏ๐˜จ ๐˜ฐ๐˜ฏ ๐˜ด๐˜ฐ๐˜ฎ๐˜ฆ ๐˜ณ๐˜ฆ๐˜ฒ๐˜ถ๐˜ช๐˜ณ๐˜ฆ๐˜ฎ๐˜ฆ๐˜ฏ๐˜ต, ๐˜ธ๐˜ฉ๐˜ช๐˜ค๐˜ฉ ๐˜ฎ๐˜ฆ๐˜ข๐˜ฏ๐˜ด ๐˜ค๐˜ข๐˜ญ๐˜ญ๐˜ช๐˜ฏ๐˜จ ๐˜ข ๐˜ง๐˜ถ๐˜ฏ๐˜ค๐˜ต๐˜ช๐˜ฐ๐˜ฏ ๐˜ฐ๐˜ฏ ๐˜ฆ๐˜ข๐˜ค๐˜ฉ ๐˜ช๐˜ต๐˜ฆ๐˜ฎ ๐˜ช๐˜ฏ ๐˜ˆ๐˜ณ๐˜ณ๐˜ข๐˜บ

โœ”๏ธ ๐˜œ๐˜ด๐˜ฆ๐˜ฅ ๐˜ต๐˜ฐ ๐˜ค๐˜ฐ๐˜ฏ๐˜ท๐˜ฆ๐˜ณ๐˜ต ๐˜š๐˜ต๐˜ณ๐˜ช๐˜ฏ๐˜จ ๐˜ต๐˜ฐ ๐˜ˆ๐˜ณ๐˜ณ๐˜ข๐˜บ

๐—Ÿ๐—œ๐—ž๐—˜ | ๐—ฆ๐—›๐—”๐—ฅ๐—˜ | ๐—–๐—ข๐— ๐— ๐—˜๐—ก๐—ง Image description

Top comments (3)

Collapse
 
tracygjg profile image
Tracy Gilmore โ€ข

To clarify, you are referencing the Array.map method, not to be confused with the JavaScript Map data type, See MDN.

Collapse
 
talenttinaapi profile image
talent โ€ข

@tracygjg yes indeed that is correct, thanks for the clarification

Collapse
 
andrewbaisden profile image
Andrew Baisden โ€ข

I find myself using the code a lot.

Sentry image

See why 4M developers consider Sentry, โ€œnot bad.โ€

Fixing code doesnโ€™t have to be the worst part of your day. Learn how Sentry can help.

Learn more