JavaScript Tutorial in Hindi for Beginners [Part 11] - While, Do-While and For loop in JavaScript

preview_player
Показать описание
#Javascript #Tutorial #Hindi

In this video i will talk about Loop in JavaScript (while, do-while and for loop)

Loops are handy, if you want to run the same code over and over again, each time with a different value.

Different Kinds of Loops

JavaScript supports different kinds of loops:

for - loops through a block of code a number of times
for/in - loops through the properties of an object
for/of - loops through the values of an iterable object
while - loops through a block of code while a specified condition is true
do/while - also loops through a block of code while a specified condition is true

In this Video Tutorial series I will giving you full training about Javascript from basic to advance level with easy and best explanation. If you like this Javascript tutorial in Hindi do leave us a comment.

Join this channel to support Tech Gun:
Рекомендации по теме
Комментарии
Автор

let counter = 0;
let sum = 0;
while(counter <=1000){
sum = sum + counter;
counter++;
counter++;
}
document.write(sum);

After watching and practicing for the 5th time i finally found an easy way of doing this.
as u always say sir,
kam line of code is better!!
Thank you so much sir!!

miyanhassanaraien
Автор

Sir plz teach us the full course of ethical hacking sir plz who else wants that👍👍👍👍🙏🙏

jinalshah
Автор

Amazing amazing... Hats off.... Really appreciate the way you r teaching... Before this 1 checked loop on other channels as well but it was to complicated for me.... So thank you so But still having the same request please upload it faster... 2 per week will be awesome

tahirzaman
Автор

Sir, you are excellent teacher. Thanks for everything.

pichupandya
Автор

But sir my question is....
while Loop jo kaam
Karata hai vahi kaam to for loop karata hai na
To phir ye dono alag- alag kaise huye...
Aur dono ka specific/separate ( Special) use kya hai....

ashutoshdesai
Автор

I love teaching very very good concept are very easily clear

SumitKumar-vutf
Автор

Now.. Waiting for real time examples of loof and nested loof as well ...

tahirzaman
Автор

Thanks for making this kind of videos sir it's soo helpful for us

riteshdan
Автор

Great salute sir for ur explanation 🙏☺️♥️

anujsingh
Автор

you can use this formula:
this is for even number
let counter = 1;
while(counter++ <= 100){
if(counter % 2){
counter++
}
console.log('counter '+ counter)
}

this is for odd number
let counter = 1;
while(counter++ <= 100){
if(counter % 2 ==0){
counter++
}
console.log('counter '+ counter)
}

hirengajjar
Автор

Thank you sir
easy language me samaj gaya jo pori engineering me nai samjha (:
kash mere Engineering tutors ap jaise mahan hote
koi baat nai !!
May God Bless you!

Jawad_Siddiqui
Автор

love u sir always waiting for ur videos

addyrai
Автор

Sir bahut acha bagwan kare apki Sadi it shal ho jae

harshitsrivastava
Автор

Sir waiting for your next video pls sir upload the new part

demolishgaming
Автор

sir jo while me paranthesis dal ke check kar wo same chiz if condition me v kar sakte hai fir while and if condition me kya diference uwa

doctorag
Автор

sir javscript mei total kitni video banegi

udaypratapsingh
Автор

Sir please upload video on how to make Logo in Photoshop

mayurthakur
Автор

Bro please python ki series lekar aao 🙏🙏🙏🙏

VinodKumar-kivv
Автор

Hats off to you. Really appreciate your teaching. I just loving it.👌👌

sudiptadey
Автор

If we want a new which escape sequence we have to used in Javascript

puneetbhardwaj