The map function is probably the most useful array function in javascript #shorts

preview_player
Показать описание
------------

Рекомендации по теме
Комментарии
Автор

.map is very usefull for returning multiple react components with diffeeent props

tmraaex
Автор

Thanks bro
For explaining in easiest way

mukulpalve
Автор

Congrats on your channel, dude. I like your work.

zachfotis
Автор

Well, no array is equal by reference... just the array itself, map will always return a new array regardless of whether the values ​​have been changed or not. Just to be clear, map does not modify the original array, but rather creates a new array with the values ​​returned by the callback

hadawardgz
Автор

Map exists in many languages, including rust. Its nice because its expressive with few lines of code, but it is slightly less clear than the manual method

KayOScode
Автор

Good one
But how is this different to forEach()?

boombap
Автор

Love the shorts! Thanks! By the way, what brand are those glasses? And if their blue light blockers, what level? :D

rd_iimpact
Автор

I don’t know much js but can you make the old array = the new map so you don’t have to make a new array?

yoursubconscious
Автор

Great tips bro
What's the name of the extension that's showing you the errors right next to your code

AbderrahmanFodili
Автор

Man wrote a JavaScript for auto-hearting comments 😂

Skeletmu
Автор

How to print on the terminal in vs code with javascript ?? Can anyone help please ?

manojht
Автор

I feel like I use `.reduce` much more frequently.

phredlane
Автор

Too different. Leave the Params next to the .map then use the parens instead of curly.

Human_Evolution-