Iterators in JavaScript | JavaScript Tutorial In Hindi #51

  Рет қаралды 55,063

CodeWithHarry

CodeWithHarry

Күн бұрын

Пікірлер: 71
@PradeepGMishraSehoreWale
@PradeepGMishraSehoreWale 3 жыл бұрын
10:45 harry bhai savage Af
@sayedhussain
@sayedhussain 3 жыл бұрын
Thank you sir, you are my favourite programming teacher ...
@shubhojeetbera
@shubhojeetbera 2 жыл бұрын
Hey harry, I'd like you thank you bro for teaching every basic concepts. To be honest, Iterators is nothing but accessing all the values inside an array which can be done in many different ways by using loops and all. Even though you know that iterator is a silly topic for someone who already knows much easy way to iterate elements, you still taught the basics to everyone. Thank you so much so explaining each and every basics.♥
@jitender3011
@jitender3011 5 жыл бұрын
Harry bhai python me ek advance software bnake dikhayie like vlc player etc... plzzzzzzzzzz🙏🙏🙏🙏🙏🙏🙏
@Satish_Kumar_Gupta
@Satish_Kumar_Gupta 4 жыл бұрын
mera toh ye JS course bohot bhadhiya chal raha hai. Thank you...:)
@Kiran-sn6ct
@Kiran-sn6ct 4 жыл бұрын
🙏🙏🙏🙏 thanks hary bhai apke tutorials se sab easy lgta h nhi to itna deeply kaun explain krta h again thank you bhai
@gamingretro343
@gamingretro343 3 жыл бұрын
Ki ki ki kiraaaan😂😂
@ashirbadbehera5544
@ashirbadbehera5544 4 жыл бұрын
best tutorial on iterators ....💗💗
@ejazalam6512
@ejazalam6512 Жыл бұрын
video is starting from 9:50
@aryan7069_
@aryan7069_ 3 жыл бұрын
6:38 bracket pair colorizer usekrlo
@naat2775
@naat2775 2 жыл бұрын
Nice
@mahisharma4228
@mahisharma4228 5 жыл бұрын
Sir create a full website include HTML CSS JavaScript jQuery and Django or flask with
@insaanonline
@insaanonline 3 жыл бұрын
const array = ['Apples', 'Grapes', 'Oranges', 'bhandi']; let i =0; console.log(array[i++]) console.log(array[i++]) console.log(array[i++]) console.log(array[i++]) console.log(array[i++])
@anuragtiwari9793
@anuragtiwari9793 3 жыл бұрын
???????????????????
@ripusudansoni3366
@ripusudansoni3366 5 жыл бұрын
Sir Android development ka video series kab banaiyega
@sambitsinha4845
@sambitsinha4845 4 жыл бұрын
Thank you very much vaiii...love you
@princesukhala7106
@princesukhala7106 2 жыл бұрын
4:00 min done done again
@keshavgupta1525
@keshavgupta1525 5 жыл бұрын
Sir data structures bhi pdhana start kr do 🙏🙏🙏🙏
@ripusudansoni3366
@ripusudansoni3366 5 жыл бұрын
Ha sir data structures bhi plz
@karamveersachdeva935
@karamveersachdeva935 4 жыл бұрын
Course badiya h sir☺
@udaysaraswat02
@udaysaraswat02 3 жыл бұрын
I guess bhindi ki sabji is your favourite Harry Bhai
@ashishsharma2511
@ashishsharma2511 4 жыл бұрын
mind-blowing
@roshangupta5803
@roshangupta5803 3 жыл бұрын
i didnt understand the iterators... but i am CWHian .... so i created my own iterators...... class iterators { constructor(givenarray) { this.array = givenarray; this.index = 0; } next() { if (this.index < this.array.length) { return this.array[this.index++] } // console.log(this.array) } } let fruits = ['apple', 'berry', 'mango']; // let fruits = 'apple'; let fruitTraverse = new iterators(fruits); console.log(fruitTraverse.next(2)) console.log(fruitTraverse.next()) console.log(fruitTraverse.next()) console.log(fruitTraverse.next())
@msbasera
@msbasera 2 жыл бұрын
Thank you bhai ❤️
@vikrantchaudhari7017
@vikrantchaudhari7017 4 жыл бұрын
Hi Haryi Nice videos. Keep up the goof work. Can you please also make videos on functional java script?
@vikaskumar-lz3rg
@vikaskumar-lz3rg 5 жыл бұрын
Super bhai
@chiranjit9529
@chiranjit9529 4 жыл бұрын
Thanks for sharing this course for free!
@cra2629
@cra2629 11 ай бұрын
Hi Harry !! why we not using for in of for of to iterate the value
@SubhamKumar-9009
@SubhamKumar-9009 3 жыл бұрын
video starts at 1:50 watch his videos in 1.75× you are watching the best tutorial 💝
@iamtarikkhan
@iamtarikkhan 5 жыл бұрын
Sir java tutorial ka se start hoga please tell me sir
@pottalokesh2039
@pottalokesh2039 3 жыл бұрын
Nice if you could have told what is the use of iterator over basic for loops .
@Kevin-pe8zv
@Kevin-pe8zv 2 жыл бұрын
It saves ram
@parthparmar9798
@parthparmar9798 2 жыл бұрын
I have a question that if the fruitsiterator function is returned, not all the variables like nextIndex and all gets deleted? Then how can we use the next function every time? I think I don't understand the lifetime of nextIndex variable. Can anyone explain me?
@snehadudhankar2966
@snehadudhankar2966 5 жыл бұрын
Please aap c# ke windows form ke bhi video banao please......
@ahtshamulhaq8357
@ahtshamulhaq8357 2 жыл бұрын
harry bhai mae nae aap ki site mae 1 chota saa bug dekha hae . just small one.
@thatsalot3577
@thatsalot3577 2 жыл бұрын
they are pretty similar to the concept of enumerators in C# ;
@darkknight4858
@darkknight4858 3 жыл бұрын
Going well
@sayanmandal5322
@sayanmandal5322 4 жыл бұрын
Congrats Harry bhai 600k subscribers 🔥🔥❣❤💥💫💯💯 😇🥰🌷🌷
@neilrehani.1409
@neilrehani.1409 3 жыл бұрын
now he is at 1m!
@kaushikchandak3765
@kaushikchandak3765 3 жыл бұрын
@@neilrehani.1409 now he is nearly 2million
@mrnormal7554
@mrnormal7554 2 жыл бұрын
@@kaushikchandak3765 he crossed 2 million and about to hit 3 😂
@utkarshsingh2912
@utkarshsingh2912 2 жыл бұрын
Can't we do it from forEach() loop or any other loop
@siddharthsable7762
@siddharthsable7762 3 жыл бұрын
Harry's favorite vegetable : bhindi his favorite dish: butter chicken
@md.arifulislam2339
@md.arifulislam2339 3 жыл бұрын
I have a doubt. Can anyone make it clear? How can fruitsIterator store lastIndex value? fruitsIterator is a function and it will destroy every time after it is called. when I called the iterator a second time, there should reassign the lastIndex = 0. But how it works differently in an iterator?
@CleanDevelop
@CleanDevelop 3 жыл бұрын
we are not calling fruitsIterator again and again, we are actually calling next() function inside the fruitIterator function. LastIndex is initialised before the next() method.
@Elderny
@Elderny 3 жыл бұрын
buddy when we put ++ after any variable it will add 1 to its actually value even if the function will be destroyed the actual variable value would be increased by +1, so it should be clear
@Elderny
@Elderny 3 жыл бұрын
you can put console.log(nextIndex) just after writing return{} you will see its been added by +1 every time the function is being called
@anonymousgerman2809
@anonymousgerman2809 2 жыл бұрын
This is becuase of closures. To know more watch closures by namaste javascript
@abdullahnisarg
@abdullahnisarg 3 жыл бұрын
2:18 Kabab me bhindi😅
@AtulSharma-jr1mn
@AtulSharma-jr1mn 5 жыл бұрын
Sir, In python how to make drop-down search box and table. And how to connect two files in python and convert them in .exe. Please make a video to show us the correct way.
@AtulSharma-jr1mn
@AtulSharma-jr1mn 3 жыл бұрын
@@neilrehani.1409 At that time I was learning python.
@anonymousgerman2809
@anonymousgerman2809 2 жыл бұрын
@@AtulSharma-jr1mn NOW?
@AtulSharma-jr1mn
@AtulSharma-jr1mn 2 жыл бұрын
@@anonymousgerman2809 Now I am doing android development.
@anonymousgerman2809
@anonymousgerman2809 2 жыл бұрын
@@AtulSharma-jr1mn Great work
@muskangarg6792
@muskangarg6792 5 жыл бұрын
plz upload jquery or sql tutorial
@SaurabhKumar-tp4uq
@SaurabhKumar-tp4uq 2 жыл бұрын
Harry bhai ye code be sahi h n let index = 0; function fruitIterator(value){ if(index < arr.length){ return { value: arr[index++], done: false } } else{ return { done: true } } }
@programmingwithjavascript3579
@programmingwithjavascript3579 3 жыл бұрын
💞 super 💞
@sehajpalsingh9779
@sehajpalsingh9779 5 жыл бұрын
Bhai apki typing speed kitni hai
@UmeshKumar-qw9op
@UmeshKumar-qw9op 3 жыл бұрын
150 wpm
@rajneesh9467
@rajneesh9467 3 жыл бұрын
Harry bhai ka bhindi se purana rishta h
@arushisinghonelove9394
@arushisinghonelove9394 5 жыл бұрын
plz...harry sir mujhe ye bata dijiye ki website per apne youtube channels ko kis tarah se add karte hai jo aapne apne website per isi page me kiya hai right side me plz.. www.codewithharry.com/blog/
@programmingwithjavascript3579
@programmingwithjavascript3579 3 жыл бұрын
From bootstrap
@p.mousumipriyadarshini8677
@p.mousumipriyadarshini8677 3 жыл бұрын
we can also "EMBED" a yt vdo in any website..
@mohammedimtiyaz2410
@mohammedimtiyaz2410 4 жыл бұрын
Why can't we just use loops ?
@makingofkira8710
@makingofkira8710 3 жыл бұрын
what is next function?
@RohanDasRD
@RohanDasRD 5 жыл бұрын
Bhai Static Website development series chahiye
@vedanshidixit8558
@vedanshidixit8558 3 жыл бұрын
Bhindi 😂😂😂
@Babahammad1
@Babahammad1 2 жыл бұрын
nice
Advance JavaScript - Iterators Tutorial in Hindi / Urdu
25:14
Yahoo Baba
Рет қаралды 58 М.
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 59 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 10 МЛН
Iterators in JavaScript using Quokka.js
21:07
Fun Fun Function
Рет қаралды 111 М.
JavaScript Sets | JavaScript Tutorial In Hindi #58
18:23
CodeWithHarry
Рет қаралды 39 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Closures in JavaScript | JavaScript Tutorial in Hindi #90
14:49
CodeWithHarry
Рет қаралды 162 М.
Now you know Objects in Javascript | chai aur #javascript
19:46
Chai aur Code
Рет қаралды 55 М.
How many people are in the changing room? #devil #lilith #funny #shorts
00:39