Тёмный

Array Method filter map reduce 

Telusko
Подписаться 2,4 млн
Просмотров 68 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@MiniMike-xd6bk
@MiniMike-xd6bk Год назад
bro, you are the best teacher out there
@user-qt1wn9l
@user-qt1wn9l 3 месяца назад
Sir, you are my last hope for any programming topic. Thank you for your very simple explanation
@sailokeshchirumarri5727
@sailokeshchirumarri5727 3 года назад
First thing fresher do think about any programming language is where they use these programs. I think along with coding, their applications in different business processes could be of more use.
@user-qt1wn9l
@user-qt1wn9l 3 месяца назад
You deserve millions of subscribers.
@AbicEpress
@AbicEpress Год назад
Bro Thank you very much, with is simple explanation i was able to translate this same code in python language.
@jabeenaziz_077
@jabeenaziz_077 Год назад
let arr = [1,2,3,4,5,6,7,8]; let result = arr.filter (n => n%2=== 0 ) .map ( n => n*2) .reduce ((x,y) => x+y ); /*arr.forEach(n =>{ console.log(n) }) */ console.log(result);
@MuhammadSalman-d3i
@MuhammadSalman-d3i 2 месяца назад
Love you sir you are the great teacher.
@MDShakhawatAlam
@MDShakhawatAlam Год назад
wow pracitacal example makes it so easy...take love from bangladesh
@Er_IT_prashantjha
@Er_IT_prashantjha 5 месяцев назад
Made this video in COVID 🫂 thank you 🙏🏻 sir , we are in 2024 it was a great run 💪🏻
@sushmitakumari8252
@sushmitakumari8252 2 года назад
Thanks for explaining it helps in understanding clearly 🖋
@aten488
@aten488 Год назад
This was awesome.Thank you. My question is where did the a,b come from? or is it a default value to reduce?
@suvarnasuvi20
@suvarnasuvi20 2 года назад
I used all different values and got the exact same sum...crazy😅
@bommasanivenkataramana656
@bommasanivenkataramana656 3 месяца назад
Thank you Man...
@SameerShaikh-wv1qp
@SameerShaikh-wv1qp 3 года назад
Excellent Navin Sir. I earned Rs. 9k by teaching ur Python Tutorials. Thanx. What about starting a series on React??? Thanx Again Sir
@MiniMike-xd6bk
@MiniMike-xd6bk Год назад
could you do a video about life as a programmer?? whats a day in your job because I know loops recursion functions and all the beginner topics, nut how do you build something serious with loops?
@johnwilkesbooth8000
@johnwilkesbooth8000 3 года назад
I know baisc java programming and i want to become android developer. "To kya advance java topic jese spring boot,aws,jdbc etc, jese topics sekhna jaroori hota hai?
@RazeRabbit
@RazeRabbit 3 года назад
Please make videos on advanced C++
@abdulazeeztp1721
@abdulazeeztp1721 2 года назад
nice explanation
@AtishDMello
@AtishDMello 2 года назад
what is the order that the methods are executed, For the first example nums.filter (n=>n%2==0).map(n=>n*2).forEach (n=> console.log(n)); Here is it filter then map then forEach For the second example let result = nums.filter (n=>n%2==0).map(n=>n*2).reduce((a,b)=>a+b); So for here it should be filter then map then reduce right?
@amazingspiderman7897
@amazingspiderman7897 2 года назад
Hi Atish, Always it is going to be executed from left to right. both filter and map methods are going to return an array, so we are chaining the resultant array to the next one by using dot (.) operator So yes, in first case it is filter -> map -> forEach and in second example filter -> map -> reduce
@devanshusachdev7367
@devanshusachdev7367 3 года назад
Hey Navin, those old specs look good on you. Don't change them 😅
@nagaskandakumar
@nagaskandakumar 5 месяцев назад
Nice observation 😅
@vinusreekumar1879
@vinusreekumar1879 Год назад
Awesome
@SeharFatima-xo4rg
@SeharFatima-xo4rg 10 месяцев назад
Thanks
@barbarasanchezvasquez2242
@barbarasanchezvasquez2242 2 года назад
Thanks.
@coolgirlsharu
@coolgirlsharu 3 года назад
I feel god is great
@mukuljohar2652
@mukuljohar2652 Год назад
No bro, your pc is not lagging the voice has not been set properly 😂😂
@priyankatangudu7135
@priyankatangudu7135 3 года назад
Sir are there any coupon codes for python course in udemy?
@Miopicsoul
@Miopicsoul 3 года назад
262th
@mumthazibrahim7105
@mumthazibrahim7105 3 года назад
Beautiful please don't shave your beard
@pranoydas9654
@pranoydas9654 Год назад
It’s totally duplicate of Java stream API
@roardayantyt75
@roardayantyt75 3 года назад
Life is short thing" "Mother and father is everything♥️♥️ 1 subscribe from Mom & Dad lovers♥️
@ankushmatyal1581
@ankushmatyal1581 2 года назад
Ganje Hindi mein padhya kr 😂 kuch samajh nhi atta 😂
Далее
Set in JavaScript
7:02
Просмотров 50 тыс.
How Many Twins Can You Spot?
00:17
Просмотров 20 млн
Please Master These 10 Python Functions…
22:17
Просмотров 169 тыс.
Array forEach Method in JavaScript
6:33
Просмотров 111 тыс.
Array Methods in JavaScript | 17 Useful Methods
42:39
Map in Javascript
7:35
Просмотров 75 тыс.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
JavaScript Higher Order Functions & Arrays
34:56
Просмотров 986 тыс.
WHY IS THE STACK SO FAST?
13:46
Просмотров 157 тыс.