Basics of functions in javascript

Поділитися
Вставка
  • Опубліковано 3 жов 2024
  • Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
    All the learning resources such as code files, documentations, articles and community discussions are available on our website:
    chaicode.com/
    You can find our discord link, github link etc on the above website.
    Twitter/X link: x.com/hiteshdo...
    Discord link: hitesh.ai/discord
    Learn React with 10 projects: • Let's learn react from...
    Learn Docker: • A practical guide on D...
    Learn Kubernetes: • Complete Kubernetes Co...
    How does a browser works: • How does a browser wor...
    How nodejs works: • How node JS works | En...
    Learn Redux-toolkit: • Learn Redux Toolkit in...
    Learn NextJS: • Nextjs Full stack course
    Learn Typescript: • Why to learn Typescript
    Learn Javascript: • Welcome to new JavaScr...
    Learn React Native: • React Native Mastery: ...
    Learn Zustand: • React state management...
    Learn Golang: • How to get started wit...
  • Наука та технологія

КОМЕНТАРІ • 71

  • @HiteshCodeLab
    @HiteshCodeLab  4 роки тому +4

    Full course is FREE and will be available here
    courses.learncodeonline.in/learn/Complete-Javascript-course

    • @VikramSingh-qg3nh
      @VikramSingh-qg3nh 3 роки тому

      are inline elements secure?

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

      It says i cannot access the course. Why?

  • @Moonwalkerrabhi
    @Moonwalkerrabhi 3 роки тому +5

    This is the best series in Javascript, And the way this course is designed is amazing, The duration of videos let us students to be consistent and learn everyday. Even if we take baby steps at a time, we will be soon be strong in JS in around 1 and half month and so. I WISH Hitesh Sir comes with ReactJS course as well , similar to this

  • @kwantumd
    @kwantumd 4 роки тому +4

    Yo, the way you say "parenthesis" is what keeps me in this course

  • @y.s.jenifersingh2153
    @y.s.jenifersingh2153 4 роки тому +2

    Vera level which means next level in tamil... Applause to ur tutorials

  • @maitry6074
    @maitry6074 Рік тому

    I love all your courses. The best on youtube. Can't thank you enough!

  • @arifdevcoding
    @arifdevcoding 4 роки тому +2

    I have been using JavaScript for a year now. I think I have more to learn

  • @hitbits1918
    @hitbits1918 4 роки тому +1

    36 videos are out, I just started . till now its awesome

  • @raghavgupta6186
    @raghavgupta6186 4 роки тому +1

    The way you make us understand the concepts is unique and interesting and the duration of the videos is exactly we want not too large not too short
    But the whole concepts are cleared.👍🙌🙇‍♂️ Thanks ,Hitesh Sir.🙌

  • @bellamyt9764
    @bellamyt9764 4 роки тому +3

    Hi hitesh sir .I am big fan of you .I really enjoyed your Node Js course .Can u please explain about async,await,promise and when to use them, the most critical part JS developers face.

  • @rajeshkumar-bl8jb
    @rajeshkumar-bl8jb 4 роки тому

    Your video make a day in a positive way.. Thanks sir

  • @sachinpandey816
    @sachinpandey816 2 роки тому

    🤔sir aapko hindi aati hai our aap indian ho mujhe iska pata bas aapke interviews se pata chalta hai
    💓💓💓 Thankyou so much sir

  • @vraj3115
    @vraj3115 4 роки тому +17

    #10minutesJS day 14!
    Isn't our education system just a dumb function ??
    function educationSystem(name, canSolveMath) {
    if (canSolveMath) {
    console.log('Er.' + name);
    } else {
    console.log('Dr.' + name);
    }
    }

    • @baba_yaga9
      @baba_yaga9 3 роки тому

      //talent=GPA
      var talent = 10;
      if(talent >= 9){
      console.log("He/She perfect");
      } else { console.log("Useless");
      }

    • @trappertech5844
      @trappertech5844 3 роки тому

      @@baba_yaga9 lmao

  • @aashiqahmed5273
    @aashiqahmed5273 3 роки тому

    Functions are the beautiful part in js

  • @tejasjani2544
    @tejasjani2544 4 роки тому +3

    sir I am a student of 5th semester IT. Sir mera question🙃 he ki
    koi django ya PHP developer ko company vale as backend developer jyada prefer karte he.
    Node.js devloper se jyada expectation rakhte ki aapko react, MongdB , and PHP ka bhi experience hona chahiye (means freshers ko node devloper ki job nahi milti) sirf node.js me backend sikh kar koi job nahi milti.
    Uske opposite PHP, django developer ko front end ka thoda bhohat knowledge ho to bhi job jaaldi mil jaati he🤔

  • @ajayrabari433
    @ajayrabari433 4 роки тому

    Can't wait for projects !

  • @sayamkoul3204
    @sayamkoul3204 4 роки тому

    It really felt like a bit intermediate level 💯

  • @aaditaygarg4585
    @aaditaygarg4585 4 роки тому

    I loved the namastey() function !

  • @mithunbarua7537
    @mithunbarua7537 3 роки тому

    Thank you bro.

  • @ankushladani496
    @ankushladani496 Рік тому

    Thank you sir....

  • @imamansoni
    @imamansoni 4 роки тому

    Functions are easy, and recursion are fun 😄👍

  • @ankushthakur2177
    @ankushthakur2177 4 роки тому

    Awesome series

  • @AmitKumar-vh6ty
    @AmitKumar-vh6ty 4 роки тому

    We are going great

  • @IqbalAhmed-qk5ix
    @IqbalAhmed-qk5ix 4 роки тому

    Awesome
    Thank u so much sir

  • @poojanpandya8864
    @poojanpandya8864 4 роки тому +1

    2:30 I think the moral of the story is that when you want/need something to execute right now, you call the function. If the function is wanted for later use or needs stored, you don't call it, just reference it without pair of parentheses.

  • @kapilchhabra3028
    @kapilchhabra3028 4 роки тому

    Amazing, love it!!!

  • @Sushil2874
    @Sushil2874 4 роки тому

    Great going..!!

  • @SameerKongath
    @SameerKongath 4 роки тому

    Nice class

  • @anilpoet4978
    @anilpoet4978 3 роки тому

    Hi sir, in this video /line 3/ why the name 'Hitesh printed, not Sammy. Please clarify. Thanks alot for the the all ur sessions.

  • @RohitChhabirajYadav
    @RohitChhabirajYadav Рік тому +1

    super better than pw

  • @vijaynavale3919
    @vijaynavale3919 4 роки тому

    Keep going 👍

  • @anshulpandey1
    @anshulpandey1 4 роки тому +1

    What do you mean by refer to the function at 2:48. I mean difference between sayHello() and sayHello.

    • @vijaynavale3919
      @vijaynavale3919 4 роки тому

      Actually refer to the function means calling it later.
      E.g.:- when you add click event on any DOM element then it takes one callback (function) where you can refer the function which you want to run only when user clicked.

  • @ItsYourBoyMRAR
    @ItsYourBoyMRAR 4 роки тому

    Nice Bro

  • @Naveenkumar-ux7nb
    @Naveenkumar-ux7nb 4 роки тому

    Sir please upload mean stack course in LCO... ❤️❤️❤️

  • @chanchalgarg2594
    @chanchalgarg2594 4 роки тому

    Good series, sir from which site i do more pratices of javascript

  • @085-vaibhavgusain9
    @085-vaibhavgusain9 4 роки тому

    Thanks u☺

  • @mashapoguajay3322
    @mashapoguajay3322 Рік тому

    hey wat is difference between let and var

  • @shobitjain9619
    @shobitjain9619 3 роки тому

    6:01 Namaste Javascript Vibes

  • @Nikhil-go6dq
    @Nikhil-go6dq 4 роки тому

    Sir I've a question , should we upload our android apps to GitHub that we have already uploaded at Play store ?

  • @mg-ht9ir
    @mg-ht9ir 4 роки тому

    Want to see you in "long beard look" ✅✅

  • @ashwanikumarsingh3410
    @ashwanikumarsingh3410 4 роки тому

    What is "end kernel panic synncing attempted to kill init" error ??????? In Linux

  • @harshalthale2821
    @harshalthale2821 3 роки тому

    console.log(`Hey ${name} You Are successfully
    LogIn `); also we can use this in this way...

  • @HimanshuKumar-lw2fv
    @HimanshuKumar-lw2fv 3 роки тому

    what is it that formatting your code automatically? is it just saving the file and it works?

  • @myke.p
    @myke.p 4 роки тому

    Which theme is it?

  • @bipinsinghrawat4695
    @bipinsinghrawat4695 4 роки тому

    And the bartender says, "Success, but you're not ready!"
    So a JavaScript function walks into a bar.

  • @ravi_sorathiya
    @ravi_sorathiya 4 роки тому

    You are still using var for variable
    When will you give surprise of all those king territory and not use var keyword problems?
    And just use let keyword

    • @HiteshCodeLab
      @HiteshCodeLab  4 роки тому

      I can see that you have finished the previous series. 🙂
      Until you understand { }, var and let makes no sense. Surely will do them, soon.

    • @ravi_sorathiya
      @ravi_sorathiya 4 роки тому

      @@HiteshCodeLab infact
      I finished that before
      Joining this series
      But doesn't matter
      I loved both really enjoyed it

  • @webb-developer
    @webb-developer 10 місяців тому

  • @acethomas5774
    @acethomas5774 3 роки тому

    Can someone plz help me with some JavaScripts for this online game that I play it has many elements and I’m looking for easier game play using the scripts

  • @gouthamrohan7116
    @gouthamrohan7116 4 роки тому

    When you are trying to run a program in visual studio code given space to folder name and filename
    Then you are given as
    node 03/ Intermediate/01\ functions.js which gives error in windows kindly respond to this how can we give spacing to folder and filename and still the code runs without throwing any error.

    • @gouthamrohan7116
      @gouthamrohan7116 4 роки тому

      When you don't respond why do you actually teach when you can't even just clarify things this is 3rd time i am asking the same question no answer from your end!!!

    • @wickedsanta6278
      @wickedsanta6278 4 роки тому

      Its node 03/Intermediate/01functions.js use this and it will work

    • @gouthamrohan7116
      @gouthamrohan7116 4 роки тому

      @@wickedsanta6278 this will normally work i do agree with you but when given file and folder spacing this ain't work

    • @wickedsanta6278
      @wickedsanta6278 4 роки тому

      @@gouthamrohan7116 check wheter u r putting space in your file name or not and then try to work acvording to that i also made d same mistake

  • @mahadev1050
    @mahadev1050 4 роки тому

    100 th like. 😅

  • @DhariSingh-w6v
    @DhariSingh-w6v 11 місяців тому

    Op

  • @raghavgupta3168
    @raghavgupta3168 4 роки тому +1

    I'm last✌👌✌

  • @nirajlakhadive
    @nirajlakhadive 4 роки тому

    function hola(greeting) {
    return (`${greeting} means Hello in Spanish`);
    }
    // var greetings = hola();
    // console.log(greetings);
    console.log(hola("Hola"));

  • @Arivi772
    @Arivi772 4 роки тому

    Can I get a heart....

  • @OpinionOfX
    @OpinionOfX Рік тому

    Ravish kumar official

  • @Sunny-oc7bo
    @Sunny-oc7bo 4 роки тому

    // This will provide user a welcome message according to provided country name. Countries included [India, USA, Germany, Australia]
    // Thank you so much Hitesh Sir
    function welcome(countryName) {
    switch (countryName) {
    case 'India':
    return `Welcome to ${countryName}`;
    // break;
    case 'USA':
    return `Welcome to ${countryName}`;
    // break;
    case 'Germany':
    return `Welcome to ${countryName}`;
    // break;
    case 'Australia':
    return `Welcome to ${countryName}`;
    // break;

    default:
    return `Sorry, you haven't provided any country name`
    // break;
    }
    }
    var welcomeMessage = welcome();
    console.log(welcomeMessage);