As I told you... For each video that I will watch I will comment and like the video. Its the most basic support that we can give to you. What I like about your videos is that they are somehow "long' and I think that programming videos should be not short. We are learning concepts here, and concepts are just theory you need to dive deep to understand in order to form the mental pattern. So keep up the good work and thank you for what you are doing for us.
@DaveGrayTeachesCode Жыл бұрын
Thank you for the support!
@80Vikram2 жыл бұрын
This is best explanation of HOF I found on YT till date, thanks a ton for your efforts. God bless you.
@DaveGrayTeachesCode2 жыл бұрын
You're welcome! 💯
3 жыл бұрын
We liked how you showed things and tie them together , Hope you can continue making these kind of videos
@DaveGrayTeachesCode3 жыл бұрын
Thanks!
@stillnai2 жыл бұрын
bro this was really well explained, thank you! also appreciate the clean and modern js
@DaveGrayTeachesCode2 жыл бұрын
Thank you! 💯
@yatin1370 Жыл бұрын
This was such a top notch tutorial! Thanks for providing MDN links too, I used it for reduce( ) and accumulator concept is clear!
@DaveGrayTeachesCode Жыл бұрын
Glad it was helpful!
@silva_santos3 жыл бұрын
Thanks for the explanations, I really needed this 🙏🏻
@DaveGrayTeachesCode3 жыл бұрын
You're welcome!
@CondeAlberto2 жыл бұрын
Very clear, we keep going forward. Thank you again Dave.
@DaveGrayTeachesCode2 жыл бұрын
Keep making that daily progress! 🚀
@Pareshbpatel2 жыл бұрын
A great tutorial on Higher Order Functions. Beautifully explained. Thank you, Dave {2022-03-09}
@DaveGrayTeachesCode2 жыл бұрын
Thank you, Paresh!
@nabilc0d3z Жыл бұрын
As usual! free and high quality video. Thank you so much Dave 🙏🏽 I wonder if I can have or play with the files you are demonstrating with 😅
@DaveGrayTeachesCode Жыл бұрын
It's good to recreate these files / examples on your own :)
@nabilc0d3z Жыл бұрын
@@DaveGrayTeachesCode Thank you, I actually did just that 😅
@abdirahmanabdullahi19662 жыл бұрын
Thanks grey for this beautiful video. short and precise
@DaveGrayTeachesCode2 жыл бұрын
You're very welcome! 💯
@kostiantynkarzhanov9216 Жыл бұрын
Thank you so much!💛
@DaveGrayTeachesCode Жыл бұрын
Welcome!
@viditgoel290911 ай бұрын
thanks for this tutorial
@user-ls4wj4oc4v Жыл бұрын
Hi Dave, I've a doubt here, so this lecture starts as A higher order function does at least ONE of the following: 1) takes one or more functions as an argument (parameter) 2) returns a function as its result. so but the functions written in this lecture are taking post obj as argument and again doing some computation and returning again an arg which is obj. so please help me understand this part. thank you for the lectures though
@DaveGrayTeachesCode Жыл бұрын
All of these functions take an anonymous function as their argument. Post is the parameter of the anonymous function.
@OlaRsk5 ай бұрын
If I understand, that was why the reduce function could take two argument (sum, post)
@SC-bv6kx3 жыл бұрын
Hi Dave, great video as always! I understand the map method doesn't mutate the original array. After I saw the example you provide (return id * 10), I was thinking what if I want to update id to id * 10, and return a new array. How can I do that? Create a new array and push the new ids in? Thank you for your time!
@DaveGrayTeachesCode3 жыл бұрын
From what you are describing, I think your solution with creating a new array and pushing in the new id values would work. As you noted, map would not mutate the original values like you are wanting to.
@siddiqahmed32742 жыл бұрын
Const people = [ { name: 'siddiq', age: 20} , { name: 'anas', age: 19}] Const arr = people.reduce((acc, curr) => acc.push(curr.age), []) It is not working. What i want is to creare an array with only ages...??
@DaveGrayTeachesCode2 жыл бұрын
After you define your people array, try this: people.map(person => person.age);
@DaveGrayTeachesCode2 жыл бұрын
After you define your people array, try this: people.map(person => person.age);
@siddiqahmed32742 жыл бұрын
@@DaveGrayTeachesCode okay thank you sir. But could you please explain why that thing is giving an error. It is constantly saying acc.push is not a function ( or something like that)?
@DaveGrayTeachesCode2 жыл бұрын
@@siddiqahmed3274 You don't want to use array.push () inside of map. map() already returns a new array.
@abdulrahmanagboolaosho3582 Жыл бұрын
could you please do a javascript full project like you did with html and css
@abdulrahmanagboolaosho3582 Жыл бұрын
or even a html, css and javascript full project you could even use the little taco shop
@DaveGrayTeachesCode Жыл бұрын
I have a playlist on my channel with Vanilla JavaScript projects: kzbin.info/aero/PL0Zuz27SZ-6PA3nkkEAr91n4bK-NunwPU
@ajith7682 Жыл бұрын
im facing error in importing the json data saying "Cannot use import statement outside a module"..pls help me
@DaveGrayTeachesCode Жыл бұрын
You will need to indicate the script is a module. From lesson 24: kzbin.info/www/bejne/h2S2c6Kdn7qZg80
@prasanthdeventhiran41592 жыл бұрын
dave i need one help dave can you please provide your email i wukk send error screenshot for you please help me dave
@DaveGrayTeachesCode2 жыл бұрын
Hello Prasanth, you may have already asked in my Discord, but if not, here is a link: discord.gg/neKghyefqh I'm getting ready to check questions there now.