JavaScript Function - What's your Function?

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • Master the basics of JavaScript Functions 🚂 in a fun tutorial packed full of 90's nostalgia. fireship.io/courses/javascrip...
    - Anatomy of a Function
    - Statement vs Expression
    - IIFE
    - Parameters
    - Arrow Functions
    - Higher Order Functions
    - Pure Functions
    - Recursion
    Episode 4 of "That Weird JavaScript Course".
    #javascript #nodeJS #code
    Take the JS Quiz 🤓
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @jorrinbruns4371
    @jorrinbruns4371 5 ปีที่แล้ว +237

    Hahahaha anyone else catch the 'Meow' at 10:04?...right before he creates the useCat function.

    • @davidurbina6555
      @davidurbina6555 5 ปีที่แล้ว +12

      totally caught that. Re winded just to make sure haha

    • @MrDots99
      @MrDots99 5 ปีที่แล้ว +3

      Jumpin' around all nimbly-bimbly from function to function

    • @user-ot1dv6ri4f
      @user-ot1dv6ri4f 4 ปีที่แล้ว +3

      came down here to comment about it haha

    • @frankatwestern
      @frankatwestern 3 ปีที่แล้ว

      best

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

      same I checked the comments if anyone else caught it too 😆😆😆

  • @rshicks256
    @rshicks256 5 ปีที่แล้ว +160

    The content on this channel is great, but your voice is why I keep watching/listening.

    • @jonathan-arias
      @jonathan-arias 5 ปีที่แล้ว

      Somos dos.

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

      Sooo true! Perfect voice for tutorials

    • @LonelyTroubadour
      @LonelyTroubadour 5 ปีที่แล้ว

      Verdade

    • @hino2
      @hino2 4 ปีที่แล้ว

      gaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

    • @bakane6030
      @bakane6030 3 ปีที่แล้ว

      @@hino2 5 year old spotted

  • @Ozzymand
    @Ozzymand 5 ปีที่แล้ว +16

    This account feels so satirical yet so educational. I fricking love you fireship, you're amazing

  • @satindersingh9671
    @satindersingh9671 5 ปีที่แล้ว +22

    I liked the video when he says "Stack overflow". Perfection! 🤯

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

    I think you nailed the style. These videos are a really great combination of clarity, humor, and substance.

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

    You have done a fantastic job on these videos, really well done! The editing and comical quirks really keep the interest. Glad I stumbled across them.

  • @troythompson2
    @troythompson2 5 ปีที่แล้ว +9

    Simplest recursion demo I've seen. Nice!

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

    I love to watch your videos, especially the humorous parts! Loved the 'meow' @ 10:04 !

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

    This is the best JS video I have ever watched. What a great job! Love it!!!

  • @raymondmichael4987
    @raymondmichael4987 5 ปีที่แล้ว +22

    Laughing 🤣🤣 while watching especially "when dog gets a beer"
    Not always to watch and laugh this type of content, keep it up bro.
    Greetings from Tanzania 🇹🇿

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

      Thank you! I like to have fun when I code :)

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

      TZ famn

  • @RedEyedJedi
    @RedEyedJedi 4 ปีที่แล้ว

    Only found this channel today. Informative, funny and well-paced. So glad I found it. Subbed and binge-watching.

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

    That's the quality content I'm subbed for...
    Thanks!

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

    This flexibility in functions definitely are one of the most beautiful things in JS

  • @dhruvilupadhyay1
    @dhruvilupadhyay1 4 ปีที่แล้ว +21

    You are legend. Just from this one video, I basically leaned what I have been learning in JS from 3 months. Plus, you also state the mistakes you made, so learner like me can avoid it. Keep up the good work buddy

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

    Thank you, I’ve been struggling understanding functions but you helped and even got a few laughs 🤣 which is rare when learning js.

  • @mohyeachraf8489
    @mohyeachraf8489 5 ปีที่แล้ว +4

    LOVED the refenrece of The Bachlorette in the case of pure functions and global variables, keep up the good work such value to the youtube Javascript community, Thank you.

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

      Mohyeddine... Will you accept this rose 🌹

  • @vladimirjean
    @vladimirjean 5 ปีที่แล้ว +3

    Like always, awesome videos, looking forward to watching the next one, keep it up!

  • @flyte9844
    @flyte9844 2 ปีที่แล้ว

    this can't only have 83k , that series is so awesome anyone who do js stuff need to watch it either to learn or just for entertainment.

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

    Thank you so much Fireship, you have been a lifesaver! This was the one thing that wasn't clicking for me since starting JS on freeCodeCamp.

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

    This is crazy. In the first 5 mins, so many concepts clicked for me.

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

    I've watched a lot of tutorials. I still don't get it but at least this one got me to get it a little bit more.

  • @abrobaTVOficial
    @abrobaTVOficial 5 ปีที่แล้ว

    Your work is awesome! Just wanted to thank you for these videos.

  • @thanhlengoc3805
    @thanhlengoc3805 5 ปีที่แล้ว

    Thanks for giving tips on lots of basic stuff that I have ignored the whole time.

  • @LynnK2000
    @LynnK2000 5 ปีที่แล้ว +12

    Definitely the most engaging programming course I've found online, I always look forward to your uploads. Keep up the good work 🙂

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

      HOW EVERYTHING GOING BY FAR

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

    I have watched hours and hours of videos. I wish EVERY programming video explanation included what you said "You can think of ____ like _______"
    Thank you for knowing how to teach.

  • @liamsmith-yp3xh
    @liamsmith-yp3xh 3 ปีที่แล้ว +3

    Far to fast for a complete beginner but for an intermediate level there’s a lot of valuable things here, gained a deeper understanding, also you can just return something even bigger than a single array after an arrow function by wrapping in brackets or if you need to return an object. Didn’t realise a function returns always even if it’s undefined but makes sense with return function ending

  • @feschber
    @feschber 5 ปีที่แล้ว

    Truely amazing that just when I learned all this in university you make a video about it

  • @evolopterus
    @evolopterus 4 ปีที่แล้ว +14

    Love your videos! Fast paced, information dense, beautifully presented. One thing I want even more of... dedicate a little extra time presenting best/recommended practices, because often there's many ways to do a similar thing in JS. (In this particular video, you do express an opinion on best practices, on other videos not so much. ) Thank you!

  • @Dzigi89
    @Dzigi89 2 ปีที่แล้ว

    Awesome video, can't be simpler than this, thank you sir!

  • @erdmax_
    @erdmax_ 5 ปีที่แล้ว

    Yes! The video we needed, but not one we deserve

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

    Watches fireship....
    Blows the mind 12times....

  • @alvarezsoto
    @alvarezsoto 5 ปีที่แล้ว

    Superb guide! It was nice learning how react hooks use closures.

  • @divinedela9125
    @divinedela9125 5 ปีที่แล้ว +9

    "The best way to understand these concepts is to get a lot of practice." Another Great video . Thanks Jeff

  • @abhishekyakhmi
    @abhishekyakhmi 4 ปีที่แล้ว

    Please , bro we need more of this course you are really good at covering important topic fast

  • @StickWithFiddle
    @StickWithFiddle ปีที่แล้ว +9

    Great video!
    Only wish he spoke a little slower to let the concepts sink in before moving onto the next function type. Also an example of a real life situation you might use each of the different functions would add value for beginners.

    • @jonnymids
      @jonnymids 7 หลายเดือนก่อน

      I felt the same way until I found out about playback speed in the settings

  • @bennettfoley3018
    @bennettfoley3018 5 ปีที่แล้ว

    Great lecture as always. Thanks!

  • @macokaba1964
    @macokaba1964 5 ปีที่แล้ว

    Amazing video Jeff! Thanks for the awesome content

  • @magicweaponr072
    @magicweaponr072 5 ปีที่แล้ว

    You're a godsend. Honestly.

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

    Not sure if I should be watching this after a week into learning to program, but it's nice to help shape my mindset for the coming months.

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

    Awesome 🤘🏽 video man. That 'meow' was so smooth 😅

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

    Love his video editing skills and emoji selection 😁

  • @FidelGuajardo
    @FidelGuajardo 5 ปีที่แล้ว

    Always great content!!!

  • @beickerzambrano5908
    @beickerzambrano5908 5 ปีที่แล้ว

    Great video, i've watched some ways to write JS code but you say new interesants things to me.

  • @G3ntiLP
    @G3ntiLP 10 หลายเดือนก่อน

    The "meow" (while saying now) really got me xD. 10:04

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

    Jeff you’re content qualitybis continuously improving continuously, please just keep never stop this channel 🤩

    • @Fireship
      @Fireship  5 ปีที่แล้ว +3

      I will never stop stopping.

  • @anesukafesu7875
    @anesukafesu7875 3 ปีที่แล้ว

    This channel teaches me the best developer practices. And how to write better JS code.

  • @MiteshPrajapati14091985
    @MiteshPrajapati14091985 3 ปีที่แล้ว

    I'll definitely say - there is nothing like this on the internet for free. I love it. Awesome :)

  • @G3Number
    @G3Number 5 ปีที่แล้ว

    Amazing content as always! Insta thumbs up!

  • @searchingForMinimalism
    @searchingForMinimalism 4 ปีที่แล้ว +12

    The content quality is way too high ! thanks for the great piece of art.

  • @mattiaesposito5525
    @mattiaesposito5525 5 ปีที่แล้ว

    i really like the part about closures good job

  • @YashGupta-dr5re
    @YashGupta-dr5re 4 ปีที่แล้ว +2

    5:40 Please release the video soon, I want to learn more about Object-Oriented JavaScript.

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

    what do you use for the emoticons in your IDE?

  • @Dev-ry9cx
    @Dev-ry9cx 5 ปีที่แล้ว +40

    I am making JS videos inspired by you 😀

    • @Fireship
      @Fireship  5 ปีที่แล้ว +12

      Awesome! Subbed :)

    • @Dev-ry9cx
      @Dev-ry9cx 5 ปีที่แล้ว +6

      You’re the best :)

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

      then subscribe... keep make good content

  • @JonSmoley
    @JonSmoley 5 ปีที่แล้ว +4

    +1 for the 'meow' at 10:00

  • @AmeixaNerd
    @AmeixaNerd 5 ปีที่แล้ว

    Excellent content!

  • @perfect.stealth
    @perfect.stealth 2 ปีที่แล้ว

    You're an awesome teacher, and an even better video creator 😂

  • @jezzaibuki9001
    @jezzaibuki9001 2 ปีที่แล้ว

    Looking for the Douglas Crockford lecture. Great video.

  • @mohithadiyal6083
    @mohithadiyal6083 3 ปีที่แล้ว

    High quality production👍

  • @dawid_dahl
    @dawid_dahl 3 ปีที่แล้ว

    For anyone who wants to learn about functions in a deeper way, I highly recommend the podcast LamdaCast. It really took my programming understanding to the next level. 👍🏻

  • @The-Average-Gamer
    @The-Average-Gamer 5 ปีที่แล้ว

    Love your content!! Any ETA on the angular course?

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

    Wait you have Baywatch, E.T., Conjunction Junction, it is like I am in a time machine! Oh yeah the JS content was good too 😸

  • @jugzster
    @jugzster 4 ปีที่แล้ว

    Douglas Crockford 😆 clearly explained concepts as usual, with funny pop culture references!

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

    Thanks for the helpful video!
    Is there an extension that outputs your console logs right there on your code or are you just adding it as comments?

    • @fullstacklogan
      @fullstacklogan 4 ปีที่แล้ว

      It's an extension called 'quokka'

  • @sexyeur
    @sexyeur 5 ปีที่แล้ว

    Look at that schoolhouse rock interlude. Haha Kudos for creative impact...

  • @alexfrancis6091
    @alexfrancis6091 3 ปีที่แล้ว

    What extention is used to display output of console in vs code?

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

    Do you know how to show the debugg information after the code like in the video?Thank you.

  • @shriniwasrocks
    @shriniwasrocks 4 ปีที่แล้ว

    beautiful!

  • @ashishtiwari3094
    @ashishtiwari3094 5 ปีที่แล้ว

    Very useful content

  • @MrStefanica
    @MrStefanica 3 ปีที่แล้ว

    Man, you should be nominated for the Nobel Prize ! :-)

  • @alexandervashchuk7795
    @alexandervashchuk7795 5 ปีที่แล้ว +3

    Which vscode plugin shows errors inside the editor?

  • @ma0r4
    @ma0r4 5 ปีที่แล้ว

    What plugin does he use to preview the result?

  • @BradenJohnYoung
    @BradenJohnYoung 5 ปีที่แล้ว

    Jolly good!

  • @CodingAfterThirty
    @CodingAfterThirty 5 ปีที่แล้ว +3

    Until we reach stack overflow... 😱🤯💥

  • @user-vg7zv5us5r
    @user-vg7zv5us5r 2 ปีที่แล้ว +1

    8:20 Does JS have a command list like in Tekken and the area, platform to practice combos, ahem, functions?

  • @alibarznji2000
    @alibarznji2000 4 ปีที่แล้ว

    i would love to see you make a node js+ express video

  • @eljanabbasov6953
    @eljanabbasov6953 4 ปีที่แล้ว

    how do u use those icons?

  • @rp2804
    @rp2804 4 ปีที่แล้ว

    Stack overflow finally i hot it 😂🤯🙏 and please make a video on functions vs classes

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

    Superbbbbbbb 👍

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

    What extensions do you use, more specifically the extension that comments your code real time?

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

    how do you get these live console logs ?

  • @architbhonsle7356
    @architbhonsle7356 4 ปีที่แล้ว

    What font are you using? Looks so noice

  • @nothingnoone8752
    @nothingnoone8752 3 ปีที่แล้ว

    His jokes & memes are underrated

  • @2aryanpro
    @2aryanpro 5 ปีที่แล้ว

    What text editor is he using, also what plugins is he using as well.

  • @dcknature
    @dcknature 2 ปีที่แล้ว

    Okay, you got me on this one 😊!
    Hence I liked, subscribed and wrote 179-th comment to this video 😁👍.

  • @user-vg7zv5us5r
    @user-vg7zv5us5r 2 ปีที่แล้ว

    8:30 I had always knew that you should treat PL as some sort of fighting game combo movelist notation.

  • @adamtak3128
    @adamtak3128 4 ปีที่แล้ว

    How do you use emojis in vscode?

  • @mridulbarman027
    @mridulbarman027 3 ปีที่แล้ว

    Bro your videos are more than MIT ❣️

  • @devi_buns
    @devi_buns 5 ปีที่แล้ว

    How do you add emojis in your code ?

  • @Luxcium
    @Luxcium 5 ปีที่แล้ว

    Like the Easter eggs 🥚 10:04 !!!

  • @johnmikelregida7142
    @johnmikelregida7142 5 ปีที่แล้ว

    Fan of your videos since I found out about Angular Firebase! ❤️
    Just a quick question, what’s the plugin that you use that gives the realtime comments (like on 8:22)? Or did you edit the video with it?

  • @ssokurenko
    @ssokurenko 5 ปีที่แล้ว

    Jeff, this is amazing how you can you simply describe complex concepts! One of the best web dev channels! Than you

  • @user-bf7ln3lq8c
    @user-bf7ln3lq8c 4 หลายเดือนก่อน

    How do you use these icons in V.S. Code? they look so cool! (started programming a week ago😵‍💫😬)

  • @will_abule
    @will_abule 5 ปีที่แล้ว

    Programming has been made entertaining by you

  • @MizikeDM
    @MizikeDM 4 ปีที่แล้ว

    5:16 if you only have one parameter you can also omit the parentheses.

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

    Which is best methood and How to quckly master the JavaScript

  • @maxiequa567
    @maxiequa567 4 ปีที่แล้ว

    "There will be an entire video dedicated to Object Oriented Javascript and 'this' in much more detail...Can you add that video to the playlist please :)

  • @gladstonross12
    @gladstonross12 5 ปีที่แล้ว

    all was good but the recursion part was a pain in the AAAAA.. i hope there will be a video on the event loop and how to write non-blocking code XD

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

    this and self in function now refers to windows?right?

  • @dibbyo456
    @dibbyo456 2 ปีที่แล้ว

    Now I understood why Jeff Atwood named "StackOverflow "

  • @alsaamit
    @alsaamit 5 ปีที่แล้ว

    Ohh Man .. Which Theme do you use in Vs code ? .. i like everything about you your content and your Theme XD