Javascript Promises | Easier than you think

Поділитися
Вставка
  • Опубліковано 29 сер 2024

КОМЕНТАРІ • 53

  • @NallusanTech
    @NallusanTech 4 місяці тому +5

    true 200% trainer, mentor nothing compared to you brother. The service you are offering to younger generation is going to be phenomenal. we are getting benefitted forever. God will bless you for enlighting new generation youngsters to understand the concepts. Infact teacher's are god. awesome.

  • @sivakumar2774
    @sivakumar2774 4 дні тому

    Good explanation and very useful !!

  • @sriaravind2064
    @sriaravind2064 3 місяці тому +3

    Anna thanks a lot...cause of this video i got selected. Love You😘

    • @JAFSCodeSchoolTamil
      @JAFSCodeSchoolTamil  2 місяці тому

      Wowwwww. Thank you so much. Your message made my day. All the best. 🙂🙂

  • @vidhyadayalan9552
    @vidhyadayalan9552 2 місяці тому

    Hey bro, lots of thanks. Mellapula concept sollama neenga detailed a solradhu chance ella. adhum namma language la.. "YARUM EPPADI SOLLITHARALA" even course join panna kuda eppadi oru explanation kedaikadhu... Please continue your greatest work. Will be helpful for people like us(freshers and also less experienced).

  • @dilakshankamalathasan6070
    @dilakshankamalathasan6070 2 місяці тому +1

    very good explanation thank you

  • @MadaraUchiha12321
    @MadaraUchiha12321 5 місяців тому +1

    Awesome explanation bro, thank you very much for this video and you earned my subscription ❤

  • @SMJegan
    @SMJegan 26 днів тому

    simple way explanation really good bro

  • @MadaraUchiha12321
    @MadaraUchiha12321 5 місяців тому +3

    and my practice code is
    console.log("Before all promises");
    let pro1 = new Promise((resolved, rejected) => {
    let r = Math.random();
    if (r > 0.5) {
    setTimeout(() => {
    resolved(r);
    }, 500)
    } else {
    rejected(r)
    }
    });
    function p2f(t) {
    let pro2 = new Promise((resolved, rejected) => {
    if (t > 0.5) {
    setTimeout(() => {
    resolved(t)
    }, 500);
    } else {
    rejected("eathoo thappa irukku da")
    }
    });
    return pro2;
    }
    pro1.then((x) => {
    p2f(x).then((xx) => {
    console.log(xx + " is greater than 0.5");
    })
    }).catch((y) => {
    console.log(y + " is less than 0.5");
    }).finally(() => {
    console.log("Summa finally");
    });
    console.log("After all promises");

  • @Gokulmaddy
    @Gokulmaddy 4 місяці тому

    Bro realy your explanation are very clear last two days ah promises ah pathi neraya video pathen but confused ah ve iruthuchi itha pathaaprotha theli a purithu thank you very much

    • @JAFSCodeSchoolTamil
      @JAFSCodeSchoolTamil  4 місяці тому

      Thank you so much Gokul. Happy that it helped 😊😊😊😊😊🥰

  • @selvakumarkumar1543
    @selvakumarkumar1543 7 місяців тому +2

    Happy pongal dude... Really appreciate your accountability

  • @subashc1843
    @subashc1843 7 місяців тому +3

    thank you bro....

  • @edhayamurali7119
    @edhayamurali7119 16 днів тому

    nice explanation bro ....❤ Date time pathi video podunga bro 🙂🙂

  • @prabakarans2593
    @prabakarans2593 17 днів тому

    Teaching ❤❤❤❤

  • @ddevstudio8918
    @ddevstudio8918 2 місяці тому

    Very useful video and good explain thank you ❤

  • @ilanchezhiyanr1577
    @ilanchezhiyanr1577 7 місяців тому +1

    Please kindly upload any project regarding Java step by step brother...thank you 😊

    • @JAFSCodeSchoolTamil
      @JAFSCodeSchoolTamil  7 місяців тому

      I don't have expertise in Java bro. So for now I can't do bro.

  • @sathyadharsan8314
    @sathyadharsan8314 4 місяці тому

    vere level anna Thanku so much anna

  • @Sahlfareed
    @Sahlfareed 4 місяці тому

    great explain hats off 💯

  • @074_cse_rohankarthikeyans6
    @074_cse_rohankarthikeyans6 Місяць тому

    crazy good expln!

  • @vishnuramtamil
    @vishnuramtamil 5 місяців тому

    Nice explanation bro

  • @dharnidharni753
    @dharnidharni753 6 місяців тому

    exact explanation bro

  • @abcda4967
    @abcda4967 21 день тому

    thala promise or aysc await which one is best for asynchronus for new person to this concept

  • @mathumathusan154
    @mathumathusan154 7 місяців тому

    thank you sir . happy pongal
    😍

  • @prinzadamz
    @prinzadamz 6 місяців тому

    As always 👌👌👌

  • @DhineshSaravanan-pz2pb
    @DhineshSaravanan-pz2pb 7 місяців тому

    super bro romba thanks bro

  • @satheeshkumar5762
    @satheeshkumar5762 5 місяців тому

    Thank you so much bro . Can you please upload React JS videos like this. It would be more helpful bro.

  • @sribalancodes
    @sribalancodes 7 місяців тому

    nice video anna

    • @JAFSCodeSchoolTamil
      @JAFSCodeSchoolTamil  7 місяців тому

      Thank you so much 😊

    • @sribalancodes
      @sribalancodes 7 місяців тому

      @@JAFSCodeSchoolTamil make some small discord discussion with subscribers

    • @JAFSCodeSchoolTamil
      @JAFSCodeSchoolTamil  7 місяців тому

      I am not getting much time bro that's why. For now i am trying to reply to all question i get but soon will plan this.
      @@sribalancodes

  • @selvakumarkumar1543
    @selvakumarkumar1543 7 місяців тому

    Pls kindly advice me what are the topics should I cover in javascript... Lots of topics are covered on UA-cam by many UA-camrs, so it's makes me confusing which is right choice.. Pls advice me...

    • @JAFSCodeSchoolTamil
      @JAFSCodeSchoolTamil  7 місяців тому

      Follow my playlist. I have some more topics remaining but you will have a good flow because i have tought from the basics.
      ua-cam.com/video/vvfi0NC2yjw/v-deo.html

  • @vidhyamanoharan3871
    @vidhyamanoharan3871 4 місяці тому

    Hi, Sorry to ask you personally are you from Cumbum?

    • @JAFSCodeSchoolTamil
      @JAFSCodeSchoolTamil  4 місяці тому

      No. But I did my schooling in cumbum.

    • @vidhyamanoharan3871
      @vidhyamanoharan3871 4 місяці тому

      @@JAFSCodeSchoolTamil Good to know! I did my schooling in Cumbum as well and got to know from my friend we both went to same school. You’re doing a great job. Keep it going 😊

  • @hari2k22
    @hari2k22 13 днів тому

    Beginners only come and watch your video so teach us slowly ok your way of teaching is very fast beginning definitely can't understand

  • @ananthadm
    @ananthadm Місяць тому

    Promise wont handle any async operation, it's just a solution for callback hell.