Learn JavaScript Loops in 10 Minutes
ฝัง
- เผยแพร่เมื่อ 15 ก.ค. 2020
- In today's video we'll be taking a look at looping and iteration within JavaScript - this is perfect for beginners who are just learning JavaScript, or experienced developers looking for a recap.
I'll be covering the following loop types: for, while, do while, for in, for of and forEach.
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
developer.mozilla.org/en-US/d...
Follow me on Twitter @dcodeyt!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript #webdev
as a javascript learner this guy is hands down one of best explanator of some of the js concepts that I find slightly difficult to wrap my head around. Whenever I get stuck on a topic, I jump on youtube, type in the keyword of the concept i'm looking for and PRAY TO GOD this guy has a video on it
Thank you I now can do a for loop. and was able to finish a coding excercise at my bootcamp.
I just wanted to say thank you for making this video and going through all of them step by step. It really helped I’ve been struggling on loops and this helped make things more clear. Most videos out there are using complex words to explain things and really what everyone is looking for is a simple explanation a kid can understand which shows how good of a person you are at explaining. I don’t see why this doesn’t have more likes this video was so helpful!!!
anything else your struggling with ?
I liked the stuff because it's an understandable and not too long a tutorial. BIIIIG THANKS
TYSM, I learn so much better by watching and doing than reading a wall of words
Happy to help!
Fabulous explanation thank you so much😊👌🏼👌🏼👌🏼
Thank you for this video, Make more like this please, on each subject :)
That's the plan!
Tysm it really help me alot
Why does this video have few likes? this is the most clear explanation I've seen
As someone coming from Python, I thank you from the bottom of my heart
You are awesome Brother. Thank you for this video.... Keep it up
All good mate!
The effort is much appreciated.
Awesome, glad it could help!
Watching the video though I'm intermediate in javascript, coz your channel is awesome. Great video
Sorry about that - I don't think the audio is any different to how I regularly do it but I'll look into it
@@dcode-software I'm sorry, it seems like my earphones weren't properly plugged in at that time, rewatched the video and realized it, really sorry....
loops are so confusing, but this helps
Great Video. I enjoy your topics. How would you go about sorting the forEach loop?
You could take a look at the Array sort() method
Great video but you should have probably mentioned that forEach() does not work quite right with async/await or generators, and show example of how regular for loop vs forEach() behave :)
Ahh.. good idea, I'll keep it in mind
Very informative video about different types of loops...Thanks Dom
Glad you liked it!
Actually keeennnn as about this vid
Hi, I've seen some people using more that 3 statements inside the for loop, like the length of the array or so, could you have a video that explains whats going on in it?
Ex: for(let i = 0; len = arr.length; i < 10; i++){
console.log(i);
}
I could potentially do a video on that, yes, I'll make not of it 😁
Woah ! Woah !
for each doesnt work
how do ppl get this bs >:(
Just keep writing code. It'll *click* eventually 😎