JavaScript Functions Crash Course

Sdílet
Vložit
  • čas přidán 26. 07. 2024
  • Learn about JavaScript functions in this full course for beginners. Functions are a fundamental building block of programming, and they're a great way to make your code more readable and maintainable.
    ✏️ Course developed by ‪@tapasadhikary‬
    We will cover the following:
    ✅ What and Why JavaScript Functions
    ✅ Clarifying Terminologies(function vs methods, parameter vs arguments, and many more!)
    ✅ Function Declarations
    ✅ Function Executions
    ✅ Default Parameter
    ✅ Rest Parameter
    ✅ Call Stack
    ✅ Arrow Function
    ✅ Nested Function
    ✅ Function Scope
    ✅ Closure
    ✅ Callback Function
    ✅ Higher-Order Function
    ✅ Pure Function
    ✅ IIFE
    ✅ Recursion
    ⭐️ Contents ⭐️
    (0:00:00) Welcome to JavaScript Function Crash Course
    (0:01:52) How To Take This Course?
    (0:03:10) What Are JavaScript Functions? Let Me Tell You a Story.
    (0:07:04) Learn JavaScript Functions Visually.
    (0:10:49) JavaScript Terminologies You Must Know
    (0:12:02) How To Declare a Function?
    (0:23:03) How To Return From a Function?
    (0:27:14) Default Parameters For JavaScript Functions
    (0:30:20) Rest Parameters For JavaScript Functions
    (0:33:48) JavaScript Arrow Functions
    (0:38:30) Nested Functions in JavaScript
    (0:41:17) Understanding JavaScript Function Scope
    (0:49:35) Mastering JavaScript Closure With Easy Guide
    (0:59:27) What are Callback Functions in JavaScript?
    (1:06:03) What are Higher Order Functions(HOF) in JavaScript?
    (1:12:32) What is a Pure Function in JavaScript?
    (1:16:34) What is an IIFE In JavaScript?
    (1:21:30) Learn JavaScript Call Stack(Function Execution Stack)
    (1:27:25) What is Recursion in JavaScript?
    (1:35:16) Closing Notes and What's From Here?
    🎉 Thanks to our Champion and Sponsor supporters:
    👾 davthecoder
    👾 jedi-or-sith
    👾 南宮千影
    👾 Agustín Kussrow
    👾 Nattira Maneerat
    👾 Heather Wcislo
    👾 Serhiy Kalinets
    👾 Justin Hual
    👾 Otis Morgan
    --
    Learn to code for free and get a developer job: www.freecodecamp.org
    Read hundreds of articles on programming: freecodecamp.org/news

Komentáře • 143

  • @tapasadhikary
    @tapasadhikary Před 11 měsíci +130

    I am thrilled to share my knowledge here with this crash course. Looking into the positive responses even after a week of publishing is very motivating. I will make more such and share them with the larger developer community. Keep learning, my friends. 🤝

    • @laliankeesb9799
      @laliankeesb9799 Před 11 měsíci +1

      do you have a youtub channel

    • @tapasadhikary
      @tapasadhikary Před 11 měsíci +5

      @@laliankeesb9799 yes! It is @tapasadhikary

    • @_schemaki_
      @_schemaki_ Před 11 měsíci +1

      Such a fantastic course Tapas Da. Eto kichu chilo JS function a jantam e na . Love from S24Pgs❤. Thank You dada. Also subscribed your channel.

    • @tapasadhikary
      @tapasadhikary Před 11 měsíci

      @@_schemaki_ thanks a lot, vai ❤️💛❤️

    • @zebrasbean2385
      @zebrasbean2385 Před 10 měsíci

      1:05:44 what’s the link to this video and the video of closures?

  • @Youarenotme01374
    @Youarenotme01374 Před 9 měsíci +30

    Many hindrances have been solved by only watching a flawless video created via a professional teacher . thank you sir

  • @ajalajessica3601
    @ajalajessica3601 Před 10 měsíci +7

    I just started learning JavaScript… this is far better than the bootcamp I paid for

  • @ichiroutakashima4503
    @ichiroutakashima4503 Před 11 měsíci +33

    tapasadhikary's "How to take this course?" is basically the most important aspect of this video that can apply for most tutorials out there. you really can't consume content in one sitting and it shouldn't be a shame to repeat the topics and rewatch them. Don't move on unless you feel you have a full grasp.

  • @adarshagnihotri3228
    @adarshagnihotri3228 Před 11 měsíci +21

    Thank you, sir, for generously sharing your knowledge about JS functions. Your clear and thorough explanations have resolved many of my doubts.🙏

  • @ejikeaneke8129
    @ejikeaneke8129 Před 11 měsíci +12

    It is wonderful to even major on this topics function. This will help a lots of new developers. I know how long it takes me to understand function, had it been that i saw this video earlier, my life would have been better with out stress. Thank you sir for this video and God bless you.

  • @gandhikumar86
    @gandhikumar86 Před 11 měsíci +14

    Truly a gem of teaching.

  • @killa621
    @killa621 Před 3 měsíci +1

    🪄I'm in super fast paced JS course rn /it gave us identical content in 4 hours/ I was lost no one else in the class will ask questions- so frustrating. I coded along with VSC and took pauses and back skips= life is better!/ SUCH a thoughtful and WONDERFUL teacher! THANK YOU! I will definitely be back 🔮🪄

  • @mightychondria7912
    @mightychondria7912 Před 10 měsíci +4

    This video was incredibly helpful. You did an outstanding job teaching these concepts in a way that was easier to understand. I learned so much. Thank you, Tapas!

  • @dineshkumar-rd4bp
    @dineshkumar-rd4bp Před 10 měsíci +9

    Important topics explained in simple and cleaner way, great work👍

  • @sublimeelectrons8699
    @sublimeelectrons8699 Před 11 měsíci +8

    Thank you so much. This is awesome. It gives me confidence understanding JavaScript fundamentally.. I love the way you teach!

  • @dsouzaedson
    @dsouzaedson Před 11 měsíci +6

    This was an awesome video. Tapas way of explaining the concept using simple example is very effective. Thank you for creating this course.

  • @fukkoff2024
    @fukkoff2024 Před 4 měsíci +3

    I cannot emphasize how jedi your teaching style is. You make inconveniently misunderstood, simple/complex concepts conveniently understood.

  • @Grendal62
    @Grendal62 Před 11 měsíci +1

    just started learning js and jquery, thank you for this!

  • @boubacarsidybah3555
    @boubacarsidybah3555 Před 11 měsíci +5

    Thank you very much! I love the way you teach.

  • @jsplayground241
    @jsplayground241 Před 6 měsíci

    I loved the way you explained arrow functions. Too easy. You Sir are a legend!

  • @soumadip_skyy_banerjee
    @soumadip_skyy_banerjee Před 11 měsíci +18

    Y'all doing some VoodOo reading our minds!

    • @soumadip_skyy_banerjee
      @soumadip_skyy_banerjee Před 11 měsíci +1

      @@feedbrains8979 Wow.. Really? Didn't know that.. That's a new info, thanks!

    • @gengrim2333
      @gengrim2333 Před 11 měsíci +1

      Bro for real I just got off because I was frustrated and then I see this

    • @angelicagabrieli7169
      @angelicagabrieli7169 Před 11 měsíci +1

      Let all curses and witchcraft be broken BY THE POWER OF JESUS CHRIST IN THE MIGHTY NAME OF JESUS CHRIST ☦️💗👑
      AMEN AND AMEN 🙏

    • @soumadip_skyy_banerjee
      @soumadip_skyy_banerjee Před 11 měsíci +1

      @@angelicagabrieli7169 Lol..

  • @Pedro-bu8xd
    @Pedro-bu8xd Před 10 měsíci

    Thank you Sir, I appreciate your time and effort!!! BRAVO

  • @user-kd1rd1dq3x
    @user-kd1rd1dq3x Před 8 měsíci +1

    A wonderful video .I was struggling and I found you.best wishes

  • @Jen-mu6td
    @Jen-mu6td Před 6 měsíci

    Thank you Tapas! This is an amazing video, great explanation! Learning a lot from all your videos.

  • @alphamackie8456
    @alphamackie8456 Před 10 měsíci

    Thank you so much Tapas. Wow I get it now :)

  • @futboystar1883
    @futboystar1883 Před 2 měsíci

    This is the best teacher on CZcams (for me)

  • @dinaeltounsi8925
    @dinaeltounsi8925 Před 11 měsíci

    Simply Amazing !!

  • @user-np4qs4to4t
    @user-np4qs4to4t Před 5 měsíci

    sir , i am try to learning js since a long time for this reason i have seen many more videos but your pronunciation and teaching ability is so meaningful.thanks sir , thanks a lot

  • @ok__shivam09
    @ok__shivam09 Před 16 dny

    just amazing Tapasa!!! this tutorial way helpful again thank you

  • @codewithwajahat
    @codewithwajahat Před 8 měsíci

    Thank you for sharing your knowledge ☺️

  • @sujonpramanik1151
    @sujonpramanik1151 Před 11 měsíci +4

    দাদা অনেক সুন্দর explain হয়েছে। realy it was awesome.

  • @user-od6ib8gx8i
    @user-od6ib8gx8i Před 7 měsíci

    Very well explained.
    Thank you so much I’ve learned a lot from this content.

  • @veebxl
    @veebxl Před 5 měsíci +1

    Lovely! Thank you for the visuals and seriously: explaining Recursion with Fetching Water is the best idea ever! Simple and effective :)
    Thanks!

  • @harshadbhoir8917
    @harshadbhoir8917 Před 10 měsíci +1

    You explained Very well sir thankyou for your knowledge.. guruji ❤

  • @thecraftedcosmos
    @thecraftedcosmos Před 10 měsíci

    Love the visuals!

  • @mrrishiraj88
    @mrrishiraj88 Před 11 měsíci +1

    Thanks a lot

  • @ericka606
    @ericka606 Před 7 měsíci

    @tapasadhikary Thank you for such a well done, thorough video. I will be watching all the videos you mentioned in this one for a deeper dive.

  • @ARULSIVAKUMARANK
    @ARULSIVAKUMARANK Před 7 měsíci +1

    Great Explanation sir and easy understandable.
    Thank You Very Much Sir

  • @user-nc9gc9og8v
    @user-nc9gc9og8v Před 8 měsíci +3

    you are explaining the things very well but is it possible to make this kind of video about functions with real logical operations where you show us how the functions work with real jogic instead of a,b or x,y etc Thanks in advance!

  • @johnmcdonald1632
    @johnmcdonald1632 Před 11 měsíci +2

    Where are the promised links to your other courses going into more detail on specific topics? Thanks for a great introduction to functions.

  • @noyandey747
    @noyandey747 Před 11 měsíci +1

    Wow. Dada.
    What a surprise ❤

  • @zstudio6127
    @zstudio6127 Před 11 měsíci

    thanks a lot for this .Really like your explanation. ✨

  • @user-ws3cy7vs9k
    @user-ws3cy7vs9k Před 8 měsíci

    finally done,thank you

  • @user-bt9nf9uf5o
    @user-bt9nf9uf5o Před 11 měsíci

    very good video for beginners. thank you

  • @sumitmukharjee5816
    @sumitmukharjee5816 Před 11 měsíci

    Just what I needed

  • @roothossen
    @roothossen Před 11 měsíci

    Thanx Tapas Sir ❤

  • @davidspot191
    @davidspot191 Před 3 měsíci

    Aweeeesome video. I really love this video explanation. I'm so Thankful!

  • @AndreiBeniash
    @AndreiBeniash Před 6 měsíci

    Fascinating! 🤓

  • @ambarlostinthewoods3080
    @ambarlostinthewoods3080 Před 9 měsíci

    Thanks for the course

  • @_kefas_
    @_kefas_ Před měsícem

    Thank you sir, much appreciated

  • @verdiolga8947
    @verdiolga8947 Před 7 měsíci

    un cours clair et synthétique
    merci

  • @raza99.99
    @raza99.99 Před 5 měsíci

    Thank you!

  • @sonamohialdin3376
    @sonamohialdin3376 Před 11 měsíci

    Awesome thanks

  • @daarunaxwa2221
    @daarunaxwa2221 Před 9 měsíci

    Thank you this course are extremely important I ❤ thank teacher

  • @user-wd6nb8en5l
    @user-wd6nb8en5l Před 10 měsíci

    this is very helpful sir, i really appreciate🙏🙏🙏🙏

  • @raza99.99
    @raza99.99 Před 11 měsíci

    Most recent, most useful, ever.

  • @jasonokero2681
    @jasonokero2681 Před 5 měsíci

    Excellent video!

  • @abhineveash
    @abhineveash Před 3 měsíci +1

    learned a lot

  • @lovkush5257
    @lovkush5257 Před 7 měsíci

    GREAT TEACHER .

  • @computingpulse9144
    @computingpulse9144 Před 9 měsíci

    Wonderful tutorial....

  • @lipangbenjoy8759
    @lipangbenjoy8759 Před 7 měsíci

    Thankyou sir ihave learned a lot

  • @mearn_ctaftsman
    @mearn_ctaftsman Před 9 měsíci

    Wonderful 👏

  • @devzahid
    @devzahid Před 11 měsíci

    An excellent video about javascript functions
    the bangla version of this video would be very helpful to us❤️❤️❤️❤️

  • @Shahikulariyan
    @Shahikulariyan Před 9 dny

    helped so much sir😍😍😍😍

  • @BryanGranseDevs
    @BryanGranseDevs Před 9 měsíci

    Nice tutorial will continue it later

  • @troiks
    @troiks Před 4 měsíci

    excellent video. Your explanations are easy to follow and are superior to that of my course provider

  • @Oromia_wallaggakoo
    @Oromia_wallaggakoo Před 4 měsíci +1

    Thank you

  • @aminulislam-ib3bo
    @aminulislam-ib3bo Před 7 měsíci

    Superb!!!! Boss! I purchased You and Sumit Boss's React -Nextjs course.

  • @Lucascaitano95
    @Lucascaitano95 Před 6 měsíci

    thank you my friend, i'm from brazil. this is content is very very important for me;

  • @manojmanu5636
    @manojmanu5636 Před 5 měsíci

    very interesting crash course 👏👏

  • @nakhan69
    @nakhan69 Před 4 měsíci

    Thank you Sir

  • @c4me540
    @c4me540 Před 8 měsíci

    I paused the video just to say THANK YOU for this awesome tutorial.

  • @MDSharif-eh2pj
    @MDSharif-eh2pj Před 25 dny

    leaving my gratitude from Bangladesh. take love Tapas bhai

    • @MDSharif-eh2pj
      @MDSharif-eh2pj Před 25 dny

      You are a gem of a teacher. I have been watching you for a couple of months. Keep going on bhai

  • @tiktokfunbangladesh3846
    @tiktokfunbangladesh3846 Před 4 měsíci

    Another honest Bangladeshi guy. Hats off ❤

  • @warriz882
    @warriz882 Před 8 měsíci +2

    While defining a function I could notice in the {
    return was used and console.log was used
    } and they performed the same action. Is there any different in them? Do they perform the same action whole involving the code?

  • @ahmed-gi4hh
    @ahmed-gi4hh Před 10 měsíci

    thanks tapasadhikary

  • @nayanbiswas370
    @nayanbiswas370 Před 6 měsíci

    Ow Tapas Sir❤!! You are one of my awesome mentors, your motivations and innovating way to break code and their explanations always inspired students like me, im really grateful to got a mentor like you Sir, Thank you Sir to make us proud and educate us ❤❤❤❤❤

  • @abhinavPrasad-ud8xi
    @abhinavPrasad-ud8xi Před 11 měsíci +2

    খুব ভালো মাষ্টারমশাই ❤❤

  • @maryann0406
    @maryann0406 Před 2 měsíci

    Thanks

  • @greeneryman2699
    @greeneryman2699 Před 10 měsíci

    Completed

  • @asadsuzan8618
    @asadsuzan8618 Před 11 měsíci

    Tapan da ❤

  • @abc_cba
    @abc_cba Před 11 měsíci +3

    Very lucid explanation, i understood the concept entirely, my rating on this topic for this video is 4.98/5 🌟

  • @mazedul1448
    @mazedul1448 Před 8 měsíci

    Best for ever

  • @memaimu
    @memaimu Před 4 měsíci

    I think the arrows in the graphic describing scopes would make more sense if they were pointing in opposite directions.

  • @AmbarLostintheCode-qy9zs
    @AmbarLostintheCode-qy9zs Před 9 měsíci

    Good video

  • @kayrayigilitas1906
    @kayrayigilitas1906 Před 10 měsíci

    It would be great if you make a video about solving leetcode problems

  • @jaffasignin9264
    @jaffasignin9264 Před 7 měsíci

    best video ever🎉🎉🎉🎉🎉

  • @diptamoymitra7486
    @diptamoymitra7486 Před 11 měsíci +1

    Next js tutorial needed

  • @iftekharmahmud6663
    @iftekharmahmud6663 Před 11 měsíci

    take love from bangladesh

  • @mikediaz9033
    @mikediaz9033 Před 8 měsíci

    I wish to be Your best Student. Honorablely.

  • @user-kd1rd1dq3x
    @user-kd1rd1dq3x Před 8 měsíci

    do you have any javascript course vai? I would love to get lessons from you !

  • @olakunleabiodun1489
    @olakunleabiodun1489 Před 11 měsíci

    i am try to know the different method and function in javaScript( it can only have method of an object)

  • @garycombs2134
    @garycombs2134 Před měsícem

    When you set the Outer function to 10 and then the outerReturn to 2 did that identify the inner function param as y=2?

  • @betterstack
    @betterstack Před 4 měsíci

    Great job with the course tapasadhikary! 🚀If anyone’s looking for more JavaScript tutorials, we’ve released JS logging in Winston and Pino to help the community too 💪

  • @dystopian_1
    @dystopian_1 Před 4 měsíci

    Hi Tapas... than you for providing this free crash course. Could you please share the Github link? I don't see any Github link in the description.

  • @nwaformicah433
    @nwaformicah433 Před 11 měsíci +1

    Graphql tutorial need, please

  • @ziginene2260
    @ziginene2260 Před 11 měsíci +3

    could you help find the problem
    function onePiece (lwazi, sanele){
    lwazi == ('masterpiece')
    sanele = (prompt('enter password'))
    if (sanele = lwazi)
    return (function travelTime(distance, speed) {
    distance = (prompt('how many kilometers are you traveling?'))
    speed = (prompt('how many km/h will you be going?'))
    answer = (distance / speed)
    answer2 = Math.floor(answer)
    remainder = answer * 60 % 60
    remainder2 = Math.round(remainder)
    return `it will take ${answer2} hours and ${remainder2} minutes to get there`
    })
    else
    console.log('incorrect password')
    }
    console.log(onePiece())

  • @AvinashKumar-jt6iv
    @AvinashKumar-jt6iv Před 7 měsíci

    Please add assignments too

  • @waquiemcomar7825
    @waquiemcomar7825 Před 7 měsíci

    what's the difference between having a return statement and not having a return statement?

  • @ChethanYadav
    @ChethanYadav Před 11 měsíci +1

    First ❤

  • @dipayancodes
    @dipayancodes Před 11 měsíci +4

    bengali programmer spotted ♥

  • @mikediaz9033
    @mikediaz9033 Před 8 měsíci

    Friend, in otherwords I'm poor.
    Thankyou, you are Universal best Teacher.
    Unfortunately I will be disconnected. It's happening for external reasons.
    Regardless, teach me the complete steps to creating an App..
    Simple question, but not.
    Your My Mentor.
    I Never had a Mentor, especially by luck.

  • @AvinashKumar-jt6iv
    @AvinashKumar-jt6iv Před 7 měsíci

    Where is the link of callback function

  • @manojhk7469
    @manojhk7469 Před 3 měsíci

    why every time undefined pritning in console