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

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

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

  • @PoojaGupta-pm8ok
    @PoojaGupta-pm8ok 7 месяцев назад

    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

  • @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.........

  • @Hubdar-Ali-Memon
    @Hubdar-Ali-Memon 7 месяцев назад

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

  • @jawadsherazi6954
    @jawadsherazi6954 Год назад +2

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

  • @reenayadav9402
    @reenayadav9402 2 месяца назад

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

  • @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 7 месяцев назад

      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

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

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

  • @web4sumit
    @web4sumit Год назад +6

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

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

    Mast explained bhaiyaa❤

  • @CHETANRATHOD-eq1bx
    @CHETANRATHOD-eq1bx Год назад

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

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

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

  • @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..

  • @learningwithsahil-it3523
    @learningwithsahil-it3523 11 месяцев назад

    I have done this task using an array

  • @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 7 месяцев назад

      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