#9 : Understanding Optional and Default Parameters in TypeScript Functions in Hindi

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 35

  • @ZainabQureshi-s8b
    @ZainabQureshi-s8b 3 หลายเดือนก่อน

    I want your type teacher and thank god I've got you like you are teaching main topics and this is good for someone's understanding.........

  • @PoojaGupta-pm8ok
    @PoojaGupta-pm8ok 6 หลายเดือนก่อน

    he explains in a simple and effective language that we connect to.
    that's how subject matter should be taught.
    lots of respect to you

  • @jawadsherazi6954
    @jawadsherazi6954 ปีที่แล้ว +2

    Sir, Love And Respect From Pakistan. I've Learned So Much From This Channel. Thank you So Much. Keep It Up

  • @Hubdar-Ali-Memon
    @Hubdar-Ali-Memon 6 หลายเดือนก่อน

    "I'm really enjoying this TS course; it's the most amazing course I've ever learned.Thankful of yours.

  • @reenayadav9402
    @reenayadav9402 2 หลายเดือนก่อน

    best video in yt i have encountered. great job. keep posting such more videos for us sir ji

  • @saadrao2502
    @saadrao2502 5 หลายเดือนก่อน

    let welldone : string=(such a brilliant explanation);
    console.log(welldone);

  • @YashSingh-zf1bp
    @YashSingh-zf1bp ปีที่แล้ว

    best typescript tutorial in youtube

  • @aniketjha5946
    @aniketjha5946 ปีที่แล้ว

    yes i am watching all the videos 🧡

  • @kamalkishore-bj9yo
    @kamalkishore-bj9yo ปีที่แล้ว +1

    I am following your series from episode 1.

    • @Hubdar-Ali-Memon
      @Hubdar-Ali-Memon 6 หลายเดือนก่อน

      u r not watching series buddy,😊 u called it lesson or videos it's good.

  • @shivamsoni7974
    @shivamsoni7974 ปีที่แล้ว

    NICE EXPLANATION BHAIYA MAJA BAHUT AA RAHA HAI HAMKO PADHNE ME

  • @web4sumit
    @web4sumit ปีที่แล้ว +6

    install extention code runer in vs code then code run at button click just try it

  • @jagdishjena9058
    @jagdishjena9058 ปีที่แล้ว

    Thank you so much sir.🕶🕶🕶🕶🕶🕶

  • @Radhe_radhe2929
    @Radhe_radhe2929 ปีที่แล้ว

    Mast explained bhaiyaa❤

  • @CHETANRATHOD-eq1bx
    @CHETANRATHOD-eq1bx ปีที่แล้ว

    sir....please tell us next topic....while ending video....

  • @learningwithsahil-it3523
    @learningwithsahil-it3523 10 หลายเดือนก่อน

    I have done this task using an array

  • @gauravrathaur7265
    @gauravrathaur7265 8 หลายเดือนก่อน +1

    sir, meri system per ${var_name} ye nahi chal raha hai... js file bhi check ki maine usmein bhi ${var_name} hi print ho raha hai..

  • @nikhild79143
    @nikhild79143 6 หลายเดือนก่อน +1

    I am back

  • @gauravrathaur7265
    @gauravrathaur7265 8 หลายเดือนก่อน

    mujhe " " double quotes use karne padh rahe hain like "Hi" + var_name + "some message" + other_var

  • @GurankitSinghBehal
    @GurankitSinghBehal ปีที่แล้ว

    7:16

  • @DEEPANSHU_NAG
    @DEEPANSHU_NAG ปีที่แล้ว

    Ans 1:
    let arr:number[] =[8,2,9,7,4,6];
    const calculateAverage =(array[]:number):number => {
    let avg = array.reduce((accum,currVal,index,array)=>{
    let total = accum+=currVal;
    if(index === array.length-1)
    {
    return total/array.length;
    }
    return total;
    })
    }
    console.log(calculateAverage (arr));
    ---------------x---------------
    Ans 2:
    let arr:number[] =[8,2,9,7,4,6];
    const findMaxValue = (array[]: number):number => {
    let Max = array.reduce((a:number, b:number) => a > b ? a : b);
    }
    let Max = findMaxValue(arr);
    console.log(Max);
    Isko correct kr dijiye @thapatechnical

    • @ThapaTechnical
      @ThapaTechnical  ปีที่แล้ว +1

      Awesome, Keeep it up

    • @DEEPANSHU_NAG
      @DEEPANSHU_NAG ปีที่แล้ว +1

      @@ThapaTechnical awesome ni ,run ny ho rha h , errors aa rha h, plz check @ThapaTechnical

    • @Radhe_radhe2929
      @Radhe_radhe2929 ปีที่แล้ว

      ​@@DEEPANSHU_NAGbhai jo array[] likha hai na parameter me usme se [] hatado

    • @DEEPANSHU_NAG
      @DEEPANSHU_NAG ปีที่แล้ว

      @@Radhe_radhe2929 ni kaam kiya

    • @Radhe_radhe2929
      @Radhe_radhe2929 ปีที่แล้ว

      @@DEEPANSHU_NAG bhai parameter me aise likho array:number[]

  • @iiitian_aayush
    @iiitian_aayush 4 หลายเดือนก่อน

    everything is good , but boom guys is irritating

  • @iztech1534
    @iztech1534 ปีที่แล้ว

    bhai dakho mind mut krna lakin apni communication skills pr thora focus karo

    • @Hubdar-Ali-Memon
      @Hubdar-Ali-Memon 6 หลายเดือนก่อน

      Apny jisko waiktee ko bola osnay apko ignore kr deya, kaisa lag rha hy apko.

  • @ramzanchaudhry3999
    @ramzanchaudhry3999 ปีที่แล้ว

    const greet1 = (name:string,id?:number) =>{
    if(id){
    return `welcome ${name} your id is ${id}`;
    }else
    return `welcome ${name}`;
    }
    // function call
    console.log(greet1("ramzan"));
    console.log(greet1("ramzan",56));

  • @itzallabouttech3616
    @itzallabouttech3616 ปีที่แล้ว

    The extension name is code runner
    vscode:extension/formulahendry.code-runner