ForEach Loop in JavaScript in Hindi 2020

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Welcome, what is ForEach Loop in JavaScript in Hindi 2020? JavaScript Array forEach() Method explained in Hindi. forEach() calls a provided callback function once for each element in an array in ascending order. It is not invoked for index properties that have been deleted or are uninitialized. (For sparse arrays, see example below.)
    the callback is invoked with three arguments:
    the value of the element
    the index of the element
    the Array object being traversed
    If a thisArg parameter is provided to forEach(), it will be used as callback's this value.
    ➡️ JavaScript Game Development Series in 2020 : • JavaScript Game Develo...
    ➡️ Source Code Link: www.thapatechn...
    ➡️ Top 5 Programming Languages in 2020: • Top 5 Programming Lang...
    Check Here ➡️ Advanced JavaScript in Hindi Playlist: • Advanced JavaScript Tu...
    ➡️ Ludo Game JavaScript Link: • JavaScript Game in Hin...
    ➡️Plz show some love to My Siter RUclips Channel and Plz Subscribe Link: / @mayabeautyvlogs878
    **************** MUST WATCH VIDEOS *****************
    ➡️ How to become a Full Stack Developer 2020: • How to become a Full S...
    ➡️ How To Become a Web Developer 2020: • How To Become a Web De...
    ➡️ Advanced JavaScript in Hindi Playlist: • Advanced JavaScript Tu...
    ➡️ How JavaScript Works: • How JavaScript Works i...
    ➡️ Follow me on Instagram: / vinodthapa55
    ************ Must Watch Videos For Web Development.************
    ➡️ HTML in One Video: • Learn HTML in One Vide...
    ➡️ CSS in One video: • Learn Complete CSS In ...
    ➡️ CSS FlexBox in 30 Minutes: • CSS FlexBox in 30 Minu...
    ➡️ JavaScript in One video: • JavaScript in One Vide...
    ➡️ ECMAScript 6 in One Video : • ES5 & ES6 | ECMAScript...
    ➡️ HTML5 in one video: • HTML5 Tutorial in One ...
    ➡️ CSS3 in one video: • Learn Complete CSS3 In...
    ➡️ Bootstrap4 in One video: • Bootstrap 4 in One Vid...
    ➡️ Jquery in One video: • jQuery in One Video in...
    ➡️ JSON in one video: • JSON in One Video in H...
    ➡️ ReactJS in one video: • ReactJS For Beginners ...
    ➡️ PHP in One Video: • PHP TUTORIAL IN ONE VI...
    ➡️ NodeJS in one video: / ipnwakoibt
    ➡️ MySQL in one video: • Complete SQL & MySQL i...
    Make Website Responsive Using Media Queries in One Video in Hindi | Web Design Tutorial in Hindi
    ➡️ Link: • Make Website Responsiv...
    DONATION FOR SUPPORT: PhonePay = vinodbahadur@ybl GooglePay: vbthapa55@oksbi
    Believe me, all this money will be used to make more quality videos and to make my channel grow. So that I can always provide you awesome free videos :)
    ***************** Tools I used to Record Videos ****************
    1: Dell Inspiron 15 5570 2018 15.6-inch FHD Laptop (8th Gen Core i3-8130/4GB + 16GB Optane Memory/1TB/Windows 10): amzn.to/2DErOoG
    2: Wright WR 800 Condenser Microphone with Free USB Sound Card: amzn.to/2TjRUmc
    3: Wright Wp 101 Pop Filter For Dynamic Condenser Microphone Voice Recording: amzn.to/2B67lro
    4: AmazonBasics Ventilated Laptop Stand (Black): amzn.to/2DDs1Zd
    5: Generic NB-35 Professional Recording Microphone Stand: amzn.to/2HBDbC1
    6: JBL T160 in-Ear Headphones with Mic (Black): amzn.to/2HwbJp0
    7: AmazonBasics Braided HDMI Cable - 6-Feet: amzn.to/2TkCTkc
    Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
    Don't Forget to Follow me on all Social Network,
    Website Link: www.thapatechn...
    Instagram Link: / vinodthapa55
    Facebook Link: / vinodthapa55
    Twitter Link: / vb55thapa
    Facebook ThapaTechnical Page Link: www.facebook.c...

Комментарии • 84

  • @ThapaTechnical
    @ThapaTechnical  4 года назад +9

    Hey Guys, How are you and doubt clear hua na apka : )➡️ JavaScript Game Development Series in 2020 : ruclips.net/p/PLwGdqUZWnOp1Ub0K1CBuLxLOEN6wTq2bg
    ➡️ Source Code Link: www.thapatechnical.com/2019/11/how-to-get-source-code.html

  • @prashantrajbhar772
    @prashantrajbhar772 9 месяцев назад

    Ab to Aisa lag raha hai dekh ke ki mai ForEach loop kabhi nahi bhulunga ,aapka jo explain karne ka Tarika hai wo sabse alag hai 😊❤

  • @ferdousalhasan5364
    @ferdousalhasan5364 3 года назад +6

    Thank you Thapa sir. You are a great teacher.

  • @rahulstha_
    @rahulstha_ Год назад +1

    he is the reason i started coding . Thank you bro

  • @charulatanagwanshi8919
    @charulatanagwanshi8919 2 года назад +1

    Thank you so much bhaiya, bahut saare channels per iss topic ke liye vedios dekhe per aapne to bahut hi achhe se explain kiya such me poora achhe se samajh gaya again thank you so much bhaiya🤗🤗

  • @sparshasparsha4801
    @sparshasparsha4801 3 года назад +6

    let practise= new Array(100,80,7,9,5);
    practise.forEach(function(element){
    console.log(element + 100)
    })

  • @dhvanilpatel25
    @dhvanilpatel25 Год назад +1

    Great Explaination Sir..Thank you😊

  • @riteshkumar-jy5np
    @riteshkumar-jy5np 3 года назад +3

    Sir forEach ka second parameter this Arg to batana reh hi gya

  • @sayedhussain
    @sayedhussain 3 года назад

    Thank you sir
    you are the best teacher on youtube

  • @jyotigoswami665
    @jyotigoswami665 4 года назад +1

    sir ek web designer ke liye kya kya chij jaruri aani chahiye company m.as a fresher ho to.
    sir aapki vedio kafi achi hoti hai...thnks sir..

  • @nayan3297
    @nayan3297 2 года назад +4

    Just write,
    console.log(val + 100);
    instead of
    console.log(arr[index]+100);

  • @techyworld3892
    @techyworld3892 4 года назад +1

    Nice explanation bro🤟

  • @asmamanzoor7341
    @asmamanzoor7341 4 года назад

    Bht acha sikhatay hain aap. Great. Thank you.

  • @tanjinaakter1379
    @tanjinaakter1379 Год назад

    Bohot acci laga🫡

  • @AbhiJeet-j4f
    @AbhiJeet-j4f 6 месяцев назад

    Best video for for each loop i ever seen thanks sir for this good work

  • @visible4u704
    @visible4u704 Год назад

    Bahut mast video

  • @sharmajikabeta3887
    @sharmajikabeta3887 Год назад

    ek no. vedio

  • @Firozkhan-el4ww
    @Firozkhan-el4ww Год назад

    very well explain brother, Thank you so much

  • @kishorisahoo6088
    @kishorisahoo6088 Год назад +1

    Thanks 🙏

  • @DEEPANSHU_NAG
    @DEEPANSHU_NAG 4 года назад +2

    Awesome explanation 👏🏻

  • @devg3909
    @devg3909 3 года назад +1

    Sir i have a question,
    How you going to return value from below code...
    const numArr = [10, 20, 30, 40, 50];
    numArr.forEach(function (num, index, array) {
    console.log(array[index] + 100);
    });

  • @cutecatsmile
    @cutecatsmile 3 года назад +4

    let number=[10,20,30,40,60];
    number.forEach(function(arryValue , index,arry){
    console.log(arryValue+100);
    })
    //result will come same

    • @pratyush2331raj
      @pratyush2331raj 2 года назад +1

      If you remove index and arry
      Then also the result will be same

    • @rahanajai6467
      @rahanajai6467 2 года назад

      I was also thinking the same thankyou

  • @mohdmahtab100
    @mohdmahtab100 3 года назад +1

    Bhai thisargument is not covered.
    What thisarg does in last of the forEach function?

  • @amarnathr2348
    @amarnathr2348 3 года назад

    super sir

  • @shikharagarwal3743
    @shikharagarwal3743 3 года назад

    Well explained bro

  • @mazharimam9216
    @mazharimam9216 2 года назад +1

    sir why arr[0] why not newarr[0].plzz xplain

  • @nareshsharma206
    @nareshsharma206 4 года назад +1

    Please make video on material theme in sublime text

  • @gaurigokakakar6887
    @gaurigokakakar6887 4 года назад

    Awsome🙌

  • @Vijaykumar-dl6cw
    @Vijaykumar-dl6cw 4 года назад

    Good work bro

  • @muhammadsajidrazaansari8074
    @muhammadsajidrazaansari8074 Год назад

    Super

  • @shehzadhussain01
    @shehzadhussain01 3 года назад

    Good work

  • @sarwaruddin51262
    @sarwaruddin51262 3 года назад

    love u sir

  • @khurshidanwar8634
    @khurshidanwar8634 4 года назад

    you are great

  • @asma99497
    @asma99497 Год назад

    Thanks

  • @mustaqali960
    @mustaqali960 4 года назад

    Awesome..

  • @abdush5830
    @abdush5830 4 года назад

    Sir..php codeignator pr complete video series.. bnaye please...

  • @rohitsaha2218
    @rohitsaha2218 9 месяцев назад

    Bro why didn't you call here callback function?

  • @amanthakur6913
    @amanthakur6913 4 года назад

    well explained

  • @abhidunghav2528
    @abhidunghav2528 4 года назад +1

    PHP with ReactJs please

  • @Ganesh_jumbad
    @Ganesh_jumbad 3 года назад

    thank u

  • @psgamer9580
    @psgamer9580 2 года назад

    Pls sir answer is this right u had made a tutorial of for each and you had given a challenge this is right or wrong
    const num = [10,20,30,40,50];
    num.forEach(function(number){
    console.log(number + 100);
    })

    • @saarockbasnet5454
      @saarockbasnet5454 2 года назад

      wrong

    • @saarockbasnet5454
      @saarockbasnet5454 2 года назад

      const num = [10,20,30,40,50];
      num.forEach(function(number){
      console.log(num + 100);
      })
      This is the method or you can code like this also:
      const num = [10,20,30,40,50];
      num.forEach(function(num,ind,array){
      console.log(num[ind]+ 100);
      })

    • @psgamer9580
      @psgamer9580 2 года назад

      Thanks bro

    • @psgamer9580
      @psgamer9580 2 года назад

      I have done same only

  • @Vijaykumar-dl6cw
    @Vijaykumar-dl6cw 4 года назад

    Vue.js framework sikhna kaisa rahega bhai?

  • @malakfarhan4325
    @malakfarhan4325 4 года назад

    Awesome

  • @aamirsaleem2213
    @aamirsaleem2213 4 года назад

    nice Video

  • @RNClass1
    @RNClass1 4 года назад

    Nice sir
    सर आप comment का जबाब नही देते?

  • @imshahid15
    @imshahid15 3 года назад

    Hello Thapa technical
    my condition is true then How can exit from forEach Loop

  • @RehanAli-gm5mk
    @RehanAli-gm5mk 4 года назад

    Hello sir,
    Please make video in js for accessing,styling for div::before and div::after

    • @ThapaTechnical
      @ThapaTechnical  4 года назад +2

      I already made videos on it.. plx check it

    • @RehanAli-gm5mk
      @RehanAli-gm5mk 4 года назад +1

      @@ThapaTechnical thanks you sir

  • @yadneshkhotre4374
    @yadneshkhotre4374 Год назад

    What is the shortcut key that is been used to navigate between different windows of your screen?

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 3 года назад

    Reduce method ka video bna do

  • @kashi9593
    @kashi9593 4 года назад

    Bro i am front end developer i have 2 years of experiance and now i want to learn backend but there are so many languages please sugges me best language for backend (demond 2020)
    Waitttingg for your Reply THANK YOU.

    • @kashi9593
      @kashi9593 4 года назад

      Bro i need reply please

    • @adnanasif997
      @adnanasif997 4 года назад

      Brother, learn Python language, there is a lot of scope for now and future as well. Once you learn this, you can easily switch another language.
      Almost every Languages r same only just a diffrence from their syntax.

  • @1Bipul
    @1Bipul 4 года назад

    🙏Dai,,,, ☝️❤️.......
    👉
    font end developer hunu ko lagi sab topic pernu jarori xa javascript ma plz reply lo

    • @saurabhpandey2018
      @saurabhpandey2018 3 года назад

      Events ,cookies ,window ,function arrays, loops, form validation , local storage and many more 😄😄😄😄

  • @indranathbanerjee4125
    @indranathbanerjee4125 Год назад

    If we write
    console.log(val+100)
    Its much easier

  • @anjudahal9756
    @anjudahal9756 4 года назад

    Hamro video chha dai

  • @mohdshaan2382
    @mohdshaan2382 3 года назад

    3 2 1 bOoM guyz kaisa laga !!

  • @saarockbasnet5454
    @saarockbasnet5454 2 года назад

    This is a for loop not a forEach.

  • @rupokkoiry8500
    @rupokkoiry8500 3 года назад

    console.log([1,2,3,4,5].map(value=>value+100));

  • @satyanarayandalei_
    @satyanarayandalei_ 3 года назад

    I appreciate you but, can please explain slowly. You are telling very fast and some concepts are bouncing.

  • @sumantdubey4946
    @sumantdubey4946 4 года назад

    Focus some backend development

  • @amitshukla6333
    @amitshukla6333 3 года назад

    var arr = [3, 6, 8, 5, 9];
    arr.forEach(function (val, i, ar) {
    console.log(val * 100);
    console.log(ar[i] * 100);
    })
    we r getting same value then why to use third parameter ....?

  • @anonymous.u.s.e.r
    @anonymous.u.s.e.r 2 года назад

    boom 😂😂😂😂😂😂

  • @yeye6300
    @yeye6300 2 года назад

    sab nepalio ko hi samajh aya hoga 😂😂😂😂😂😂😂😂

  • @shivamchaudhary2478
    @shivamchaudhary2478 Год назад

    let value =[10,20,30,40];
    value.forEach(function(elem){
    document.write(elem + 100 + "");
    })
    🙂

  • @HaryanviBaki
    @HaryanviBaki 6 месяцев назад

    superv