Map, Filter & Reduce in JavaScript | JavaScript Tutorial in Hindi #20

  Рет қаралды 492,940

CodeWithHarry

CodeWithHarry

Жыл бұрын

Link to the Repl - replit.com/@codewithharry/20m...
Join Replit - join.replit.com/CodeWithHarry
Download Notes - www.codewithharry.com/notes/
Ultimate JS Course Playlist: • JavaScript Tutorials f...
►Checkout my English channel here: / @programmingwithharry
►Instagram: codewithharry
python, C, C++, Java, JavaScript and Other Cheetsheets [++]:
Playlist: • Coding CheatSheets 🧾 b...
►Learn in One Video[++]:
Python[15 Hr] - • Python Tutorial For Be...
Python Advance[3.5 Hr] - • Python Programming Cou...
Python[1 Hr] - • Learn Python In Hindi ...
Python[2 Hr] - • Python Tutorial In Hin...
Python[15 Min] - • 15 Minute Python Tutor...
JavaScript[1 Hr] - • JavaScript Tutorial
C[1.3 Hr]- • C Programming Tutorial...
php[1 Hr] - • Learn Php In One Video...
php[2.3 Hr] - • Php Tutorial for Begin...
php[Project]- • Login And Registration...
HTML[30 Min] - • HTML 5 Tutorial For Be...
CSS[8.5 Hr] - • CSS Tutorial In Hindi ...
CSS[1.4 Hr] - • CSS 3 Tutorial For Beg...
Wordpress[3.2 Hr] - • How To Make a WordPres...
Angular[2 Hr] - • Angular Tutorial in Hindi
Java[2.3 Hr] - • Java tutorial in hindi 🔥
Web Scraping[1 Hr] - • Web Scraping Tutorial ...
MongoDB[2 Hr] - • MongoDb Tutorial For B...
Numpy[1 Hr] - • Numpy Tutorial in Hindi
Android Dev[12 Hr]- • Android Development Tu...
Linux[1 Hr] - • Linux Tutorial For Beg...
JQuery[1.1 Hr] - • jQuery Tutorial For Be...
Git and GitHub[1.1 Hr] - • Git & GitHub Tutorial ...
►Complete course [playlist]:
React - • React Js Tutorials in ...
Python- • Python Tutorials For A...
OOP Python- • Object Oriented Progra...
Java - • Java Tutorials For Beg...
JavaScript- • JavaScript Tutorials I...
PHP- • PHP Tutorials in Hindi
C- • C Language Tutorials I...
C++- • C++ Tutorials In Hindi
Git & GitHub- • Git and GitHub Tutoria...
Android Dev- • Android Development Tu...
Python GUI- • Python GUI: Tkinter Tu...
Web Development- • Web Development Tutori...
Python Django - • Python Django Tutorial...
Projects Using HTML, CSS & Javascript- • Projects Using HTML, C...
Data Structure and Algo - • Data Structures and Al...
Follow Me On Social Media
►Website (created using Django Rest & Angular) - www.codewithharry.com
►Facebook - / codewithharry
►Instagram - / codewithharry
Twitter - / codewithharry
Comment "#HarryBhai" if you read this 😉😉

Пікірлер: 476
@CodeWithHarry
@CodeWithHarry Жыл бұрын
On your request, I have revamped the channel membership and added more levels. Click the join button to check out more - kzfaq.info/love/eVMnSShP_Iviwkknt83cwwjoin
@vjy78
@vjy78 Жыл бұрын
literally your comment has 0 likes 1st one is mine ignore man
@sharebazarindranil
@sharebazarindranil Жыл бұрын
C1 karle nay vale kaise ate
@shreyashreeguha1074
@shreyashreeguha1074 Жыл бұрын
harry bhaiya mujhe pls ye baatiyen ki sifr front end developement ke liye kitna basic javascript padna chahiye?
@AishaSenapati
@AishaSenapati Жыл бұрын
@@shreyashreeguha1074 puri knowledge hona zaruri hai, i am a frontend developer too
@aashisrivastava6014
@aashisrivastava6014 Жыл бұрын
@CodeWithHarry can you please suggest book for javascript
@siddhantkumar6801
@siddhantkumar6801 Жыл бұрын
Congrats everyone on your 20th video of js keep learning!!👍👍😁😁
@atirrasheedhashmi
@atirrasheedhashmi Жыл бұрын
Chl thank you yr, pta to chla ki 20th video pr hain 🤓😅😂
@siddhantkumar6801
@siddhantkumar6801 Жыл бұрын
@@atirrasheedhashmi lol🤣🤣👍👍
@SidsAnalysis
@SidsAnalysis Жыл бұрын
🤡🤡Mai bhi Hoon Aapko follow karte karte idhar tak aa gya
@CodeIgnitionx2
@CodeIgnitionx2 Жыл бұрын
I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys Thank you so much in advance :)
@zaid-zi6qy
@zaid-zi6qy Жыл бұрын
i hope koi purana nhi bhulta huva a rha hai
@Aiprophet007
@Aiprophet007 Жыл бұрын
Imagine you have a bunch of toys in a basket, and you want to do different things with them: 1. Map: Imagine you want to paint each toy in the basket with a bright color. To do this, you would take one toy at a time, paint it, and put it back in the basket. Map works similarly. It takes a function and applies it to each toy in the basket, creating a new basket with the transformed toys. So, map transforms each toy without changing their order or number. 2. Filter: Now, let's say you only want to keep the toys that are soft. You would go through each toy, feel its texture, and keep only the soft ones in the basket. Filter works in a similar way. It takes a function that checks a condition and applies it to each toy. It creates a new basket containing only the toys that satisfy the condition. So, filter helps you select and keep only specific toys based on a condition. 3. Reduce: Finally, imagine you want to find the total number of toys in the basket. You would count one toy at a time, adding the count to a running total. Reduce does something similar. It takes a function that combines two toys and reduces the collection to a single value. In our case, it would add the count of each toy to a running total until there are no more toys left. So, reduce helps you aggregate or combine values into a single result. I hope this simplified explanation helps you understand the concepts of map, filter, and reduce!
@doipayanchakravarty623
@doipayanchakravarty623 Жыл бұрын
bro, am telling u ...become a cs teacher
@satishchaudhari1255
@satishchaudhari1255 11 ай бұрын
Amazing work
@dhruvraj9548
@dhruvraj9548 10 ай бұрын
credit goes to artificial intelligence
@consolementary
@consolementary 10 ай бұрын
hehehe thats nice to get help from chat GPT.
@NO_N500
@NO_N500 4 ай бұрын
​@@dhruvraj9548😂😂
@stockbox4215
@stockbox4215 Жыл бұрын
Bhai mere pass laptop nhi h fir v Python , html ,css , C sikha hoon haryy Bhai se phone se code krke online compilers and interpreters ke through. Or avi replit se krte h coding iss JS course ko. Thank you Harry bhai.🤟✨
@tanishqarjun8302
@tanishqarjun8302 Жыл бұрын
Thanks brother. You are just amazing. You can just start with any video without prior knowledge and still get your doubt clear. Again thanks man 👍💯
@nayabsuleman2302
@nayabsuleman2302 Жыл бұрын
Thank You Harry Bhai I searched map,filter,reduce but I couldn't understand I was just waiting for your next video.Higer Order Function, Really Helpful Course Thanks Alot.
@mzohaib27
@mzohaib27 Жыл бұрын
perfect explanation Harry bhai....map ko main pahaaar smjh raha tha ....ap ny to aisy explain kr k smjhaya jesy koi makhi urra di ho.....❤❤...Thank you so much brother
@aritora778
@aritora778 Жыл бұрын
These series are extremely helpful. I have a small request for you. After finishing this tutorial please make a full tutorial on the integration of React app inside WordPress. Thank you so much.
@shivamtiwari4293
@shivamtiwari4293 Жыл бұрын
Knowledgeable👍👍👍 Thanks for making this JavaScript course🙏🙏🙏
@AmitKumar-xx7zj
@AmitKumar-xx7zj Жыл бұрын
the way you explain, you make everything so easy to understand.
@tayyaburrehman5695
@tayyaburrehman5695 Жыл бұрын
This course is very helpful 👍🏻 keep posting videos thank you
@consolementary
@consolementary 10 ай бұрын
Hi Harry, I am Jawad Azeemi from Pakistan; just started learning from you instead of my instructor because he is worthy to teach but at the same time, you too worthy because you run with new values added day by day in JS. Thanks. // let luther = [45, 87, 4, 65] // luther.map((value)=>{ // value ke jagha kuch be likh sakte ho aap log // console.log(value)// jo value ya kuch ooper likha ha , wahi idher be likhna ha // }) let luther = [45, 87, 4, 65] // ab ham thora change kerte han ooper walay ko let flower =luther.map((value)=>{ return value + 2 // console.log(value) }) console.log(flower) /* now ma chahta hoo ke ye 2 sirf aur sirf add ho index 2 ka sath jo ke array ma 4 ha*/ let luther1 = [45, 87, 4, 65]; let flower1 = luther1.map((value, index) => { if (index === 2) { return value + 2; // Adds 2 only to the element at index 2. } else { return value; // For other elements, keep the same value. } }); console.log(flower1); // Output: [45, 87, 6, 65]
@abhaysaxena9403
@abhaysaxena9403 Жыл бұрын
@codewithharry; bhai apki puri series nhi dekhi but jis jis topic me doubt hai vo dekha, sachme eakdum clear ho gya. The amount of hardware you put while creating this and explaining is commendable and should be appreciated. Thankyou!
@betterthanyou5612
@betterthanyou5612 Жыл бұрын
hardware💀
@DriedSickle
@DriedSickle Жыл бұрын
🤣"hardware💀"🤣
@codelyslearning
@codelyslearning Жыл бұрын
Thank you so much for this educational video, I learned so much.
@itsunknown7943
@itsunknown7943 Жыл бұрын
Thank you harish sir you are such a great teacher love you sir ❤️❤️❤️❤️ I am watching your old video for learning I am BCA student of secend year starting
@sakshamgupta2598
@sakshamgupta2598 6 ай бұрын
Done ! keep on practicing guys good luck
@prajaktaawale7565
@prajaktaawale7565 10 ай бұрын
I appreciate covering all functions in a single video, I love your videos too, But I think for reduce method you could have stated the arguments list.
@user-du9ks5qg9m
@user-du9ks5qg9m 4 ай бұрын
guys, do like share subscribe and everything you can do without been demanded by Harry himself. Doing such a great work !! He deserves this.
@yogeshdharya3857
@yogeshdharya3857 Жыл бұрын
12:10 bahut bada concept lugta tha map , filter , reduce ; bahut advance concept lugta tha in fact intimidating bhi lugta tha mujhey toh lekin such bataun harry bhai , aap ki video dekhne k baad samjh mei ayaa ki ye kya choti si cheez se durr ruha tha mei . Thank u so much complicated ko simple bananey k liye ! Happy Diwali !🪔
@Thakur_9993
@Thakur_9993 Жыл бұрын
Hi Sir , This Aakash Thakur i saw all python video that very useful for me and others that tutorial is enough to face interview including their projects
@khusheedabhi3434
@khusheedabhi3434 3 ай бұрын
Thank you for such as simple yet clear explanation
@vishalagarwal1770
@vishalagarwal1770 Жыл бұрын
Hey Harry, You did a great job. And "Thanks" is very small word for all of your efforts. I believe "God Bless You" will be more apprepreate for your cpntinous endless efforts.
@saurabhchaurasia2262
@saurabhchaurasia2262 Ай бұрын
love your explanation.Thank you!
@maazdev9000
@maazdev9000 Жыл бұрын
A little bit of Motivation from my side : Got infected by Denguee , couldn't code for 2 months and now after 1 month practice , i am back where i left , i watched your html video did html project , watched your css video did the project and now i'm back where i left (Nov 19 to Dec 16) and now i will end this playlist as well
@Kuch_Bhi-lets_explore_it
@Kuch_Bhi-lets_explore_it Жыл бұрын
Thankyou Thankyou So Much How Amazingly you explain it You are the Best Harry Bhai ❤️✨
@akashpatil9865
@akashpatil9865 Жыл бұрын
3:28 we can perform operation in return like we perform operation in forEach loop. the difference is that here we create a new array right?
@Ghulammustafa-wg6cy
@Ghulammustafa-wg6cy Жыл бұрын
thank you sir this course is very helpfull
@ArshadKhanCS
@ArshadKhanCS Жыл бұрын
Aisa samjhaya ki simple lagne laga . . . . shukriya
@RahulKumar-wg6mr
@RahulKumar-wg6mr 11 ай бұрын
Thank you so much bhaiya for this beautiful course
@nandkishor4760
@nandkishor4760 Жыл бұрын
Very helpful video Maja aa gya Bhai 🔥🔥🔥👍
@Jai_Shree_Ram____469
@Jai_Shree_Ram____469 Жыл бұрын
Best tutorials ever of java script ❤️❤️❤️
@AnujKumar-ww3op
@AnujKumar-ww3op Жыл бұрын
Koi nhi sirji...bahut shi bnayeho aap video
@PrinceSoniOFFICIAL
@PrinceSoniOFFICIAL 9 ай бұрын
Love u bro 😂❤❤ whenever i see you i feel relaxed but kbhi kbhi apki speed ke barabar ane me time lag jata hai lekin kam mt krna yahi sahi hai speed revision ke liy best h
@ONETIMETRY-EDITZ
@ONETIMETRY-EDITZ Жыл бұрын
OP HARRY BHI .I UNDERSTAND EASILY YOU EXPLAIN SIMPLE WORDS SIR 🌹
@Saurav_Gaur
@Saurav_Gaur 10 ай бұрын
Very useful ❤❤ course everyone should be learn, because you can get new 🔥🔥
@dxdelvin
@dxdelvin Жыл бұрын
Journey Till 20th Video was Fantastic! Need Mini Projects tho!
@dibyajitmazumdar3435
@dibyajitmazumdar3435 Жыл бұрын
This series is Awesome....
@web.developer2581
@web.developer2581 Жыл бұрын
Thanks.. great walkthrough
@Wagnor.1
@Wagnor.1 Жыл бұрын
Sir we are beginner So explain every small please 🙏 Bit I like your teaching skills ❤️
@SahilAli-rn3pe
@SahilAli-rn3pe 5 ай бұрын
sir u are great and ur teaching method is unique
@waheedahmad451
@waheedahmad451 Жыл бұрын
This course is helpful.
@anubhavchatterjee7574
@anubhavchatterjee7574 Жыл бұрын
Thank you, Sir
@imadsdiary
@imadsdiary Жыл бұрын
Love Your content harry bhai op I love the way you explain really good
@CodeIgnitionx2
@CodeIgnitionx2 Жыл бұрын
I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys Thank you so much in advance :)
@Satyansh_void
@Satyansh_void Жыл бұрын
Best tutorials ever of java script ❤❤❤
@shaikh8958
@shaikh8958 Жыл бұрын
Harry bhaiya thanks🥺❤️😊
@owaisasgherali6978
@owaisasgherali6978 Жыл бұрын
Lots of love from Pakistan #codewithharry according to mine you are one of the massive gem on this era♥️♥️♥️♥️
@CodeIgnitionx2
@CodeIgnitionx2 Жыл бұрын
I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys Thank you so much in advance :)
@bollyvines2595
@bollyvines2595 Жыл бұрын
harry sir gajab dha rahey hai....humarey liye aap coding daaata hai....kirpya aapke charan dikhaye.........
@dark-knightCoder
@dark-knightCoder Жыл бұрын
Harry bhai you are my codding inspiration ❣❣❣❣❣❣❣
@vishnupriya739
@vishnupriya739 5 ай бұрын
simplified... thanks
@paveenkua1949
@paveenkua1949 Жыл бұрын
Helps a lot sir
@sadanandsinghchauhan8811
@sadanandsinghchauhan8811 Жыл бұрын
op course Thank you Harry Bhai!
@sakhisaheliritika
@sakhisaheliritika 8 ай бұрын
Thank you Harry Sir.
@amitband9685
@amitband9685 10 ай бұрын
Inshort Map and filter will give an array and reduce gives a single value array.
@soumyajitsatpathy3627
@soumyajitsatpathy3627 Жыл бұрын
Nice videos…appreciate a lot
@royfamily9273
@royfamily9273 7 ай бұрын
Thanks Harry Bhaiya
@TanveerHussain-wh7pl
@TanveerHussain-wh7pl Жыл бұрын
Harry bhai tusi Great Oo...
@MinistryofJavaScript
@MinistryofJavaScript Жыл бұрын
Behtreen.
@surendramohanty2524
@surendramohanty2524 Жыл бұрын
It's same functionality in python lambda also map(),filter (), reduce ()
@ALIHDFacts8610
@ALIHDFacts8610 Жыл бұрын
Best channel on youtube thanks
@meditationreverberations5128
@meditationreverberations5128 Жыл бұрын
❤Appreciated Harry Bro.
@user-fr6mn4ru2u
@user-fr6mn4ru2u 4 ай бұрын
Thank you so much sir
@arshiyanshaikh-code590
@arshiyanshaikh-code590 Жыл бұрын
done, thank you Bhai
@priyanshutyagi_02001
@priyanshutyagi_02001 4 ай бұрын
Thankyou harry bhai❤
@vimalkumarchaudhary1913
@vimalkumarchaudhary1913 Жыл бұрын
Aaj maine three chiz sikha map,filter,reduce very happy
@matrixcoderdev
@matrixcoderdev Жыл бұрын
Thanks Harry Bhai
@animeshanandcool
@animeshanandcool 6 ай бұрын
In reduce we can paas initail summation ..like here i am passing -1 . let num=[1,2,3] let sum = num.reduce((prev, curr, index, array) => { return prev + curr; }, -1) Guess the output.
@gauraviagrawal2788
@gauraviagrawal2788 Жыл бұрын
Hey Harry! Please make a video on a career change from sales to tech
@abhikmehra923
@abhikmehra923 Жыл бұрын
Maza aa raha hai harry bhai 🤘
@ak.gamingjone8161
@ak.gamingjone8161 Жыл бұрын
Thankyou very much 😃😃😃😃 Sir
@kareenasingh3264
@kareenasingh3264 Жыл бұрын
Thank you sir !!!
@user-hr3zx4el4w
@user-hr3zx4el4w 5 ай бұрын
thanks very much sir
@tushargurav7504
@tushargurav7504 Жыл бұрын
Thanks harry bhai
@vikaskateshiya8123
@vikaskateshiya8123 Жыл бұрын
thank's for this video
@YT-qo6rt
@YT-qo6rt Жыл бұрын
Sahi he hai Harry bhai, pls cover all methods it help to learn and remember..
@CodeIgnitionx2
@CodeIgnitionx2 Жыл бұрын
I am also making video tutorials on programming but i dont have any support please support me guys so that i can continue teaching . I really need your support guys Thank you so much in advance :)
@mr.hacker....6266
@mr.hacker....6266 Жыл бұрын
Super JavaScript Course...👌👌👌, Harry Bhai U R Providing Quality Content for Students...😊☺️🙃 Thanks Harry Bhai....🤗
@Magical_reels
@Magical_reels Жыл бұрын
Best video.. 👍
@sayanmondal6798
@sayanmondal6798 7 ай бұрын
Thank You
@nishnathdeveloper445
@nishnathdeveloper445 23 күн бұрын
00:02 Learn about Map, Filter, and Reduce 01:50 Exploring the differences between map and forEach in JavaScript 03:23 Map creates a new array and foreach iterates over and does something for each array element. 04:49 Use map method to create a new array with values from original array 06:21 The filter function in JavaScript filters an array based on a given condition. 07:53 The reduce method in JavaScript 09:26 The reduce function takes the first and second values and runs the same function with the result 11:05 Map, Filter, Reduce is a modern concept Crafted by Merlin AI.
@dywa_varaprasad
@dywa_varaprasad Жыл бұрын
Thank you
@tensorcodes
@tensorcodes Жыл бұрын
Harry bhai thode jaldi jaldi video banao me nextjs ka course bhi follow kar rha hu... JavaScript strong chahiye
@yatinpatil7937
@yatinpatil7937 Жыл бұрын
nice course harry bahi....
@aryanmanjarekar2784
@aryanmanjarekar2784 Жыл бұрын
Thanks 🤟
@vaibhavverma3399
@vaibhavverma3399 Жыл бұрын
7:19 if you do the same operation with map it would return a boolean array.
@dksingh9771
@dksingh9771 Жыл бұрын
thank you harry bha
@hacker57
@hacker57 Жыл бұрын
Present Harry bhai osm video 🤩🤩🤩
@ALIHDFacts8610
@ALIHDFacts8610 Жыл бұрын
thankyou bhai Allah bless you😘
@Rahuldudi1349
@Rahuldudi1349 11 ай бұрын
Reduce method is veryy usefull actually
@__iTs_Ravi
@__iTs_Ravi Жыл бұрын
thank you
@codewithwalker
@codewithwalker Жыл бұрын
All know all method & i use Harry bhai
@maheshmurtadak5500
@maheshmurtadak5500 8 ай бұрын
love u harry bhai😃
@que22
@que22 Жыл бұрын
Thanks bhai
@A__MAHAMUDULHASANAbid
@A__MAHAMUDULHASANAbid 4 ай бұрын
confusion clear...
@ShivamPal-xu4ws
@ShivamPal-xu4ws Жыл бұрын
Thankyou sir
@brainbite6101
@brainbite6101 Жыл бұрын
NICE PLAYLIST TILL NOW...
@ankitasingh734
@ankitasingh734 Жыл бұрын
Thanks
@Singh_DhaliwalVlogs
@Singh_DhaliwalVlogs Жыл бұрын
harry bhai aap hamare god ho bhai koi chakkar to nahi agar ham aap ki videos download krke smabhal ke rakh le
@ScienceTechnology360
@ScienceTechnology360 Жыл бұрын
Thanks you sir
@ececse
@ececse 6 ай бұрын
thankyou bhaiya
@legendarygaming8180
@legendarygaming8180 3 ай бұрын
nice explain
@WWEMinecraftwwelife
@WWEMinecraftwwelife Жыл бұрын
Amazing
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 13 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Microsoft Girl in the US talks about AI, DSA and life in the US 🔥
21:41
Filter map and reduce in javascript | chai aur #javascript
38:46
Chai aur Code
Рет қаралды 150 М.
map, filter & reduce 🙏 Namaste JavaScript Ep. 19 🔥
37:42
Akshay Saini
Рет қаралды 852 М.
Async/Await in JavaScript | JavaScript Tutorial in Hindi #59
20:08
CodeWithHarry
Рет қаралды 261 М.
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 13 МЛН