You've got yourself another well-deserved subscriber. Your teaching style is excellent and very easy to follow. Thanks for introducing me to the concept of chaining methods together, this is fantastic!
thank u so much bro so i did learn before people say arrow function don't need return so I did try it its work so just like that, const names = people.map((person) => person.name); thanx anyway
What does "person" represent? Is "person" suppose to be an object in the new array? Trying to map the syntax to the logic. Thank you for your channel. New subscriber!
In the map case... what happens if one of the 3 objects has no name porperty? The resulting array woudn't be of the same length as the original? Or what??
He is mapping through people, creating person as the argument, then passing in the person.name as the return value. Person.name goes back to the people array and grabs the name of each person then moving it to the new names variable.
@@larkharo8863 Thank you! When a function argument uses a label that has not been defined elsewhere, that's basically like creating a variable for the function that represents the argument of the function, is that right?
I'm not that dev who drops comments on every tutorial, but bro honestly, you gat it ! Big thumbs up
You've got yourself another well-deserved subscriber. Your teaching style is excellent and very easy to follow. Thanks for introducing me to the concept of chaining methods together, this is fantastic!
You're a great teacher, this was super helpful.
Thanks for your efforts. These methods are really great, useful and pratic.
In my beginner opinion, you explained this super well, thank you!
This a perfect example to describe 3 simple functions that seem complex.
I subscribed.
I loved your video it really helped me with a tough project I'm undertaking at work. You are awesome! *Subscribed*
This made it so understandable, thank you
Made it simple and easy to understand Thanks man!
Glad to hear it!
Finally something to understand. Great example. Thank you!
You're welcome! Happy it helped
My understanding with these arrays methods after watching your video 📈📈
Very interesting demo. Thank you.
That made it easy to learn! Ty sir
Thank you brother. I came here for this reason !!!
Thanks a lot, very simple to understand
thank u so much bro so i did learn before people say arrow function don't need return so I did try it its work so just like that, const names = people.map((person) => person.name); thanx anyway
Welcome 👍 arrow functions don't need to use "return" when you have a one-liner.
@@dcode-software thx bro
This made it so understandable
What does "person" represent? Is "person" suppose to be an object in the new array? Trying to map the syntax to the logic. Thank you for your channel. New subscriber!
Nice explanation over the topic!
Great explanation man.
helped alot, your a king
Awesome 👍😎
Hi. What color do you use vscode for?
I use the 'dcode' VS Code theme - you can find it on the VS Code Marketplace
@@dcode-software 💕❤❤❤
In the map case... what happens if one of the 3 objects has no name porperty? The resulting array woudn't be of the same length as the original? Or what??
I just checked, it fills that space in the array with undefined
what about when with an array provided you get .filter is not a function? an array passed into a function to filter the array.
How does the code know that "person" refers to the objects in the array if the name of the objects (person) was never defined?
He is mapping through people, creating person as the argument, then passing in the person.name as the return value. Person.name goes back to the people array and grabs the name of each person then moving it to the new names variable.
@@larkharo8863 Thank you! When a function argument uses a label that has not been defined elsewhere, that's basically like creating a variable for the function that represents the argument of the function, is that right?
thank you so much!!!
You're welcome, glad it was helpful!
very nice video brother
my brain started drifting away in the middle of the reduce method explanation.
The Udemy course link isn’t working from the U.S.
thanks brooo !
You're welcome mate.
well deserved follow and like simple and nice explanation
nice