For loop with break and continue in javascript | chai aur
ฝัง
- เผยแพร่เมื่อ 2 ต.ค. 2024
- Visit chaicode.com for all related materials, community help, source code etc.
#javascript #hindi
Sara code yaha milta h
github.com/hit...
Discord pe yaha paaye jaate h:
hitesh.ai/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial
DSA Best hai🤣🤣🤣.. Roast kr rhe hai DSA Best bolkr course bechne walo ko
Sahi ha 😂😂😂😂😂
Tab Roast kar raha thaa ab khud b bach raha hai😂😂😂😂😂
@@AnisKhan-pq1iq😅😅😅
02:52 for loop
8:40 if condition inside for loop
10:50 for loop inside for loop
15:57 array inside for loop
18:40 keyword in loop (break and continue)
Only channel whose notifications makes my day. Thank you sir for these wonderful videos on JS🥰🥰🥰.
I was having difficulty understanding the concept of loop, so I watched many series. But finally, this video made things crystal clear for me to understand.
Amazing sir love you. Mai sir linkedin pr post bhi kr deta hu video dekhne k baad ❤🙏 aap mere jindgi badlane ka kaam kr rahe H. To mai kuchh to aapke liye kr skta hu. Hn sir 🙏 aur काजू कतली तो aapko jarur khilaunga jaise hi job lagti H sir. Satyam Pandey love from Uttar pradesh❤🙏 आपको ढेर सारा प्यार❤
Bhaiya, you didn't explained the behaviour of a nested loop with break statement at different stages of loop,why is that......
Press ctrl+F2 to change similar words at a time in vs code .
one of the best video related to for loops
I share this channel " Chai aur code " with my friends and all of them are very happy for Hitesh Bhaiaa's Quality of content.
I have no words to thank you I just Simply say This is Life Changing.
Loved it ❤
finally i understand concept of loops ; )
02:52 for loop
8:40 if
10:51 inside
15:57array inside
Now I feel more confident in my coding skills, knowing how to break out of loops when needed or skip iterations with continue. Thanks for sharing your expertise! Can't wait for your next tutorial. 🙌 #JavaScriptMastery 💪🚀
21:02 - if you know u know 😅😂
13:21 INFINITE LOOP CHAL GYA THA BY MISTAKE 🤣🤣🤣🤣🤣
for (let i = 0; i
for loop
Loop 1 )
for(let index = 0 ; index < 10 ; index++){
const element = index ;
console.log(element);
}
Loop 2)
let index ;
let element;
for( index = 0 ; index < 10 ; index++){
element = index ;
console.log(element);
}
Loop 3) Printing loop from outside
for(let i = 0 ; i
phele msg print hoga phir 5 print hoga
find in array search with break
let myArray = ["Navi", "Rahul", "Mr Singh", "Ravi"];
for (let i = 0; i < myArray.length; i++) {
if (myArray[i] === "Ravi") {
console.log("Ravi detected. Loop breaking.");
break;
}
console.log(myArray[i]);
}
Let a = [5,6,8,9,9]
Const n = 5
Let object={}
For ( let i =0;i
Sir apke yeh valr series best hai
No anyone have videos on TH-cam
Your classes is depth
and full practical
for (let i = 1, i
Finally,I am comfortable in coding 😅
10:00
for(let i=1; i
Thanks sir for providing me this Amazing Content
00:02 Discussing upcoming open source projects and future plans.
01:41 Understanding the concept of iterations instead of loops is vital for programming.
05:07 Using hardcoded value if condition not met
06:50 Understanding the usage of 'for' loop with break and continue in JavaScript
10:32 Using for loops in JavaScript for iterating and printing values.
12:35 Understanding the execution of inner and outer loops in JavaScript
16:31 Understanding for loop and index values in JavaScript
18:16 Importance of changing conditions in loops
21:30 Using break and continue in JavaScript loops
23:01 The use of 'continue' and 'break' in JavaScript loops
13.20 type mistake
outerloop -> inner loop likh diya
Sir Ya Dunya bi 5 ka Sadga Kha Rhi..ha Agr Koe Muslim comment ma tu Usay Shi pta chlay ga..
5 ka Mtlab kia ha..
PanjtanPak
comment me meri taraf se ek shayri .. sir aapke liye..
"Tujhe paye bina naa jane kitna bhatka hu...
gali gali se thokar kha.. tujh tak pahucha hu...
Ummid nhi thi .... ki smjhunga kvi mai ye paheli..
khuda jane kaise ban gyi teri chay meri saheli....
dua hai bs aapki muskurahat yu hi bikharti jaye....
coding koi v ho ...bas ek chay ki pyali me simat ti jaye.."
Hanji.... shyari krne ni aati mgr emotions bahkr nikl gya tuti futi bhasa ke liye maafi chahta hu...
thanks a lot sir for this series ..
editor sahab please bg acha lagayiye ... hypnotize ho jata agr thodi derr or dekhta black bg 😅 at the end @Hitesh_bhai is the only one person jinka js ke uper hindi me sbse acha palylist he...!
best series in the world #chai_aur_code
I am watching this series fron 12th august 2023 and in just 4 days i am feeling so confident in it. You are magical sir.
aaj hai 27-10-2023 aaj kaisa lag rha hai
master hogya ab tk meri dusri id hai@@uselesstechofficial
lol@@uselesstechofficial
15 august bro coming soon
Sir . Mere sath ek problem he. Samajhme to 101% araha he. But purana bhul jata hun . Is ka solution kiya he. Please help me
Very very thank you == बहुत बहुत धन्यवाद
02:52 for loop
8:40 if condition inside for loop
10:50 for loop inside for loop
15:57 array inside for loop
18:40 keyword in loop (break and continue)
VS Coe terminal is not showing output in Javascript
Sir you are our superhero, in superhero array, please add your name also Sir.
Awesome content. Loved it.!!
Sir outer loop 11 dafa aur inner loop bi 11 dafa chaly ga kyu ka loop ke value 0 se start ho rhy ha na ka 1 se.
finally after wait for a week sir arrived with a video 💥
i like your video's
Loops have always been scary for me but after watching your video i feel like i can write code for loop correctly
sir aap ye ${}ke andar wala system vs code per run nhi kar rha wo yahi ${}print kar de raha he iska koi solution
you are magical for me because i start watching videos and then enjoy all videos😍🥰
Sir apki puri ye wali series bahot achi hai apki happy look se aur mjaaa aata hai sikhne me
Thank you so much sir.
Sir, provide some practice questions or exercises after the videos. That will give us confidence in the JS
w3resourse pe jaake krlo bhai questions
oo bhai sir ji koi vella admi nhi hain ye sb additional cheeze free ka mt demand karo internet ka use karo
Muslmanoon ka Allah and hinduaoon ka bagwan app ko lambi umar dy love you sir❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
@@zulfiqarAlig bhai ye kadwa satya tu v janta hai aur puri duniya v ki musalmano ka allah sirf musalman k liye hote hain kaafir hain uske samne
@@navinkumarsahu1159 nhn nhn Allah ny hamen insan banaya tha aur pher hm insanooon ny hee ek doosrey ko kafir bana diya. Iss men Allah ka kiya dosh. Pher bhee Allah hamen aur tumhen aur sabh ko insan banney ki taufeeq ata kry.
From the where to solve this all loops practice example for more to strong the concept. Thank you
Element ki value jab 5 ke barabar hogi then if statement execute hoga
"break" be like packup bhai packup, "continue" be like sehleng thora 😀
first number print hoga till 5, then 5 is best number, then number continues to 10.
20:30 sir: "aap ne to pakadliya hoga pakka".
(me smiling😊) who already know
make one more PODCAST On TRS Hindi/English
maza aagya sir, 4 saal baad dekha dubara break and continue ka use
in Windows select any dublicate element and use ( ctrl + shift + L) to use multicursor for dublicate elements.
thanks
thanks a lot bro, I was trying to find it.
speechless series
bhaiya maza a raha h comment to hm krte h , hme master bana do jaldi s. bhaiya job k lie m bahut preshan hu.
Comment tho har Video main kar tha hu ❤❤🎉 shikne main maja ara ha he sir 🇧🇩🇧🇩
message print ho ga
baaki ki videos kal subah dekhunga good night Hitesh bhai I love you
you are magical for me because i start watching videos and then enjoy all videos and my interest in programming
Awesome video sir!
Nice Explanation ! Perfect ! Thank you
TOP NOTCH Course
Best series on JS SIR
CSS PE BHI SERIES LE AAIYE SIR ❤
Which extension do you use for the basic suggestion for loop?
best course sir thankyou very much sir
sir maza aa rha hai maine kahi aur se bhi yt pe js padha tha but apkay videos me aur maza aa rha hai
Inteha Ho gayi agale video ki aaina kuchh khabar agale video ki
parctice sets:- for loop
Write a JS code to print numbers from 1 to 10.
Write a JS code to print a 2D array.
Write a JS code to print Even numbers in given array.
Write a JS code to delete all occurrence of element in given array.
Write a JS code to find the power of a number using for loop.
i shall try IN SHA ALLAH
thanks
bss just puch rha hu gussa mt hona ye IN Sha Allah her line ke end me likhna jaruri hota hai kya ?
@@shaheerniazi1742
the break statement is in if else what is its scope and how it stops loop which is out of scope of if condition
even i have no interest in coding but when i start learnt from you it helps me a lot . My friend suggest me your playlist . Thanks for making youtube channel sir
Abb confirm ho gia Sir Javascript prhaana harr kissi k bss ki baat nhh
break;-> terminate the loop execution
continue->start the next iteration
// Original for loop, counting from 0 to 9 with a message when i is 5
// for(let i=0;i
Hitesh sir is the best teacher like DSA.....on youtube.😀
ctrl + D to get all duplicate elements (for windows)
Thanks Sir!
Bahut hi achha course hai Hindi me. dhanyabaad Sir ji
thank you sir for this amazing series love from pakistan
In both places you have written 'inner value' .
take love from bangladesh
hitesh sir
#chaiAurCode
I don't usually comment on videos but i gotta say - The one thing i like most about your videos...this not hindi or your twisted way of teaching but... your attitude...that keeps our mind and hearts playful...i guess and thank you so much for that....😊😊
watching on sunday morning, after having tea🍵
i use mouse
Pehele massage print hoga .... Then number
Thank you: sir , ❣ ye java script sachh main bhut hi expensive hai ,sunne main ek alg hee maja aata hai aapko or seekhne main to kya hee kahna , ☺🌿
Main dawe ke sath kah sakta Hoon ki isse ise bahtar java script ka course hoga hi nhi youtube per or syd hee koi bana payega,
Itaen calm or bikul 1 - 1 topic bhut hee gahre samjh ke sath , Thank you sir ,
❣ .
never understood difference b/w break and continue now u explained it perfectly 👍
html end ho gya jaisa aap ne bataya hai ab css bhi start karo
Dsa best Hai sirf😂😭sarcasm on peak point😆👌
5 is best number print hogi pehlay
18:30 hitesh be like:- bohot paisa hai mere pass
for(var i=0; i
it is a error if you want to add /= in i use inside loop naa
Sir agar hum let jaga var ka use kri to same output hoga
"Chai aur Code, you've unlocked the secrets of JavaScript in the most brilliant way. Kudos!"
I am a beginner from Arts background. I know nothing about coding. You explanation is much better. please maintain the style.
first print if block and then element oon
5 itration
I was having difficulty understanding the concept of loop, so I watched many series. But finally, this video made things crystal clear for me to understand.
I have purchased 2-3 JS courses in English I did not understand this much, thank you sir,
Really appreciate your efforts.
I am getting more confident in JavaScript after watching this series. Thanks a lot sir for helping the community through such a great study material...
this is the best playlist for js in youtube
9:40 phle message print hoga fir 5 print hoga
thanks ji
Welcome☺️