ES6 #9: ES6 Default Parameters in JavaScript in Hindi 2020

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • Welcome, we will see the Default function parameters in JavaScript in Hindi. Default function parameters allow named parameters to be initialized with default values if no value or undefined is passed. In JavaScript, function parameters default to undefined. However, it's often useful to set a different default value. This is where default parameters can help.
    In the past, the general strategy for setting defaults was to test parameter values in the function body and assign a value if they are undefined.
    ➡️ ECMAScript Tutorial in Hindi 2020: • Modern JavaScript ES6 ...
    ➡️ ES5 & ES6 | ECMAScript 6 in One Video in Hindi: • ES5 & ES6 | ECMAScript...
    ➡️ 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...
    ➡️ 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 :)
    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...

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

  • @VinayKumar-zt9xh
    @VinayKumar-zt9xh 4 года назад +4

    He just said see my videos of advanced JavaScript whenever you get free time 😂😂. Brother we are here to learn javascript and you are providing amazing content. So learning it should be our first priority.

  • @manishakapil_delhi
    @manishakapil_delhi 3 года назад +2

    wow u really teach so well..it saves lot of time of mine in doing research.

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

    First Good morning to you

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

    3 2 1 guys boom .
    If you guys dont know what is this ,you are still new to thapa technical.
    Very meaningful vedio brother thanks.

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

    osm

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

    very helpful... keep it up sir..

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

    Bhai plz. Vanilla javascript ke introduction video bano
    Plz.

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

    thank you once again so much sir

  • @rahul-java-dev
    @rahul-java-dev 4 года назад

    Thank you so much. Its helping me alot.

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

    amazing

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

    Vinod outstanding explanation of all concepts.I wish u efforts will increase u r subscribers.

  • @AshokSingh-eb7tj
    @AshokSingh-eb7tj 4 года назад

    Here both != and !== are working
    b = (typeof b !=='undefined')?b:10
    b = (typeof b !='undefined')?b:10
    Are these correct , we can use any one of those?

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

    iski thori samjh nahin ai
    nechay kyu mult(4) kiya ye parameter to upar b pass karsaktay thay? jaisay b ka kiya

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

    Please strart node.js tutorial

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

    i also can define the value a=4 in const mult(a=4,b=4) in this way .it will be correct or not?ans dijiye pls

  • @JaiPrakash-ku7it
    @JaiPrakash-ku7it 3 года назад

    There is no video on the fat arrow function. If I am not find this, please let me know

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

    what if we want to give default parameter to the first parameter of the function

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

    Best bro..

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

    Hi dai

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

      Hi bhai bhana.. silver play wala video hereu ta

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

    Boom guys!!

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

    Osm work ✌🏻👏🏻👏🏻
    4:59 typeof b ! == "Undefined" nhi samaj me aaya samajh digeye

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

      same

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

      That is a ternary operator ... Work just like if else, if the condition inside the ternary operator is true the n executes the first otherwise it will execute the second.

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

    is it possible to get a front-end or back-end job without degree..?

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

    sir what skills are required before start of react?..
    sir plz tell

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

    function sayHello(name) {
    name??="david";
    alert("Hi, " + name);
    }
    sayHello("het");
    This is new ES12 feature of Defining default perameters.

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

    We want veu tutorial.

  • @noname-up2wr
    @noname-up2wr 4 года назад

    I a. Swaroop

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

    Bro please dont do this "3-2-1 and boom", its very irritating. Your videos are good. I like them but please dont use that stuff.

  • @noname-up2wr
    @noname-up2wr 4 года назад +2

    Hi dai