map Array Method | JavaScript Tutorial

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

In this tutorial, we're going to learn about the #map #JavaScript #Array Method and how it can be used to create a new different array which is based on the values of the array which is called upon.

One good example of using the map function is to double all the numbers inside an array. Or we can use it to calculate the total value of different products we have in a store by multiplying their product by their count.

---
Follow me on:
Рекомендации по теме
Комментарии
Автор

Quick and clear to the dot.. Thanx a lot !! Gotta go and practice now..

sandaminisakunika
Автор

So clear and helpful, thank you! I like how you began with a really simple example, it helped me keep up and catch on.

alli
Автор

Finally I understood what map Array means, and how it works ... Thank you, thank you very much Florin!

myrinaDM
Автор

You make me understand array methods, thank you guy.
Your way of teach are fantastic.

conhecimento.lendarioo
Автор

Your explanations are amazing best explanation I have seen yet. this was really easy to grasp I was foggy on map before this video.

northroadian
Автор

Thank you for this video because it explains clearly what each parameter does. For example, you left the (value, index, arr) in the double function even though this function might only use the index or the value. As a beginner, I need consistency; maybe I will only use the necessary parameters as I get more comfortable.

uiltas
Автор

Thank you, great playing with object properties, there is nice practical value in the exercise.

bama
Автор

Thanks. Like the simple and useful ways you explain concepts for beginners...

ousseynounabalma
Автор

Thank you so much. Especially that last example. I had a coding problem that was a little tough but you just made it 10x easier.

AngelMartinez-gegs
Автор

really helpful video! thanks also for explaining index :)

xontros
Автор

This was amazing! Please do more higher order function explanations

MrRafael
Автор

I learn javascript while looking your tutorials
and english while listening you and translate unknown words. Great that your pronounce is good
profit :D

borozynets
Автор

I'm going to need this for JS revision for sure 🤩🤩🤩

CodeandDream
Автор

You deserve more likes and suscriptions. Thank you

alfonsoramirezelorriaga
Автор

your tutorial is so much helpful
Make more tutorial

ashik
Автор

Great video.. specially the practical examples are very helpful..tnx

snakemanluffy
Автор

thank you for the explanation, your video was the turning point for me. cheers!

frustrabe
Автор

const str_numbers = ["21", "32", "45", "76", 34, 56, "78"];
const int_numbers = str_numbers.map(item=> parseInt(item));
console.log(int_numbers); /// we can also use parseInt to convert str to int

const new_str_numbers = int_numbers.map(item => item.toString());
console.log(new_str_numbers) /// can also convert int to str using toString() method

marulasiddumr
Автор

I like your tutorials. They are clear and beginner-friendly.

reedreal
Автор

just found your tutorials and you may very much be the Goat #subbed

justinxtenreal