JavaScript Function - What's your Function?

  Рет қаралды 179,372

Fireship

Fireship

Күн бұрын

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.

Пікірлер: 208
@jorrinbruns4371
@jorrinbruns4371 4 жыл бұрын
Hahahaha anyone else catch the 'Meow' at 10:04?...right before he creates the useCat function.
@davidurbina6555
@davidurbina6555 4 жыл бұрын
totally caught that. Re winded just to make sure haha
@MrDots99
@MrDots99 4 жыл бұрын
Jumpin' around all nimbly-bimbly from function to function
@user-ot1dv6ri4f
@user-ot1dv6ri4f 4 жыл бұрын
came down here to comment about it haha
@frankatwestern
@frankatwestern 3 жыл бұрын
best
@bolow
@bolow 3 жыл бұрын
same I checked the comments if anyone else caught it too 😆😆😆
@rshicks256
@rshicks256 4 жыл бұрын
The content on this channel is great, but your voice is why I keep watching/listening.
@jonathan-arias
@jonathan-arias 4 жыл бұрын
Somos dos.
@alvarezsoto
@alvarezsoto 4 жыл бұрын
Sooo true! Perfect voice for tutorials
@LonelyTroubadour
@LonelyTroubadour 4 жыл бұрын
Verdade
@hino2
@hino2 4 жыл бұрын
gaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
@bakane6030
@bakane6030 2 жыл бұрын
@@hino2 5 year old spotted
@satindersingh9671
@satindersingh9671 4 жыл бұрын
I liked the video when he says "Stack overflow". Perfection! 🤯
@Ozzymand
@Ozzymand 4 жыл бұрын
This account feels so satirical yet so educational. I fricking love you fireship, you're amazing
@G3ntiLP
@G3ntiLP 8 ай бұрын
The "meow" (while saying now) really got me xD. 10:04
@stephblank8204
@stephblank8204 2 жыл бұрын
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.
@russelldriver6394
@russelldriver6394 4 жыл бұрын
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.
@LawrenceTheGreat
@LawrenceTheGreat 4 жыл бұрын
I think you nailed the style. These videos are a really great combination of clarity, humor, and substance.
@aBradApple
@aBradApple 3 ай бұрын
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.
@akhileshnarayan8547
@akhileshnarayan8547 2 жыл бұрын
I love to watch your videos, especially the humorous parts! Loved the 'meow' @ 10:04 !
@troythompson2
@troythompson2 4 жыл бұрын
Simplest recursion demo I've seen. Nice!
@RedEyedJedi
@RedEyedJedi 4 жыл бұрын
Only found this channel today. Informative, funny and well-paced. So glad I found it. Subbed and binge-watching.
@mmmike3426
@mmmike3426 4 жыл бұрын
This is the best JS video I have ever watched. What a great job! Love it!!!
@davesomeone4059
@davesomeone4059 Жыл бұрын
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.
@dhruvilupadhyay1
@dhruvilupadhyay1 3 жыл бұрын
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
@liamsmith-yp3xh
@liamsmith-yp3xh 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
@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.
@matheusazevedooliveira8222
@matheusazevedooliveira8222 4 жыл бұрын
That's the quality content I'm subbed for... Thanks!
@janhiness
@janhiness 3 жыл бұрын
Thank you, I’ve been struggling understanding functions but you helped and even got a few laughs 🤣 which is rare when learning js.
@juliohintze595
@juliohintze595 4 жыл бұрын
This flexibility in functions definitely are one of the most beautiful things in JS
@mohyeachraf8489
@mohyeachraf8489 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 4 жыл бұрын
Mohyeddine... Will you accept this rose 🌹
@evolopterus
@evolopterus 4 жыл бұрын
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!
@searchingForMinimalism
@searchingForMinimalism 4 жыл бұрын
The content quality is way too high ! thanks for the great piece of art.
@divinedela9125
@divinedela9125 4 жыл бұрын
"The best way to understand these concepts is to get a lot of practice." Another Great video . Thanks Jeff
@fantasymels
@fantasymels 3 жыл бұрын
This is crazy. In the first 5 mins, so many concepts clicked for me.
@vladimirjean
@vladimirjean 4 жыл бұрын
Like always, awesome videos, looking forward to watching the next one, keep it up!
@StickWithFiddle
@StickWithFiddle Жыл бұрын
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.
@SSGVB
@SSGVB 5 ай бұрын
I felt the same way until I found out about playback speed in the settings
@raymondmichael4987
@raymondmichael4987 4 жыл бұрын
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 4 жыл бұрын
Thank you! I like to have fun when I code :)
@heracraft5526
@heracraft5526 3 жыл бұрын
TZ famn
@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.
@LynnK2000
@LynnK2000 4 жыл бұрын
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
@abrobaTVOficial
@abrobaTVOficial 4 жыл бұрын
Your work is awesome! Just wanted to thank you for these videos.
@alvarezsoto
@alvarezsoto 4 жыл бұрын
Superb guide! It was nice learning how react hooks use closures.
@Dzigi89
@Dzigi89 2 жыл бұрын
Awesome video, can't be simpler than this, thank you sir!
@thanhlengoc3805
@thanhlengoc3805 4 жыл бұрын
Thanks for giving tips on lots of basic stuff that I have ignored the whole time.
@feschber
@feschber 4 жыл бұрын
Truely amazing that just when I learned all this in university you make a video about it
@abhishekyakhmi
@abhishekyakhmi 4 жыл бұрын
Please , bro we need more of this course you are really good at covering important topic fast
@anesukafesu7875
@anesukafesu7875 3 жыл бұрын
This channel teaches me the best developer practices. And how to write better JS code.
@fuadnafiz98
@fuadnafiz98 4 жыл бұрын
Love his video editing skills and emoji selection 😁
@trophieboi1820
@trophieboi1820 4 жыл бұрын
Watches fireship.... Blows the mind 12times....
@MiteshPrajapati14091985
@MiteshPrajapati14091985 3 жыл бұрын
I'll definitely say - there is nothing like this on the internet for free. I love it. Awesome :)
@beickerzambrano5908
@beickerzambrano5908 4 жыл бұрын
Great video, i've watched some ways to write JS code but you say new interesants things to me.
@YashGupta-dr5re
@YashGupta-dr5re 4 жыл бұрын
5:40 Please release the video soon, I want to learn more about Object-Oriented JavaScript.
@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. 👍🏻
@erdmax_
@erdmax_ 4 жыл бұрын
Yes! The video we needed, but not one we deserve
@macokaba1964
@macokaba1964 4 жыл бұрын
Amazing video Jeff! Thanks for the awesome content
@bennettfoley3018
@bennettfoley3018 4 жыл бұрын
Great lecture as always. Thanks!
@MrStefanica
@MrStefanica 2 жыл бұрын
Man, you should be nominated for the Nobel Prize ! :-)
@jezzaibuki9001
@jezzaibuki9001 2 жыл бұрын
Looking for the Douglas Crockford lecture. Great video.
@cwasonfauna
@cwasonfauna 4 жыл бұрын
what do you use for the emoticons in your IDE?
@magicweaponr072
@magicweaponr072 4 жыл бұрын
You're a godsend. Honestly.
@lifasibiya4810
@lifasibiya4810 4 жыл бұрын
Awesome 🤘🏽 video man. That 'meow' was so smooth 😅
@saadabbasi2063
@saadabbasi2063 4 жыл бұрын
Jeff you’re content qualitybis continuously improving continuously, please just keep never stop this channel 🤩
@Fireship
@Fireship 4 жыл бұрын
I will never stop stopping.
@mattiaesposito5525
@mattiaesposito5525 4 жыл бұрын
i really like the part about closures good job
@Dev-ry9cx
@Dev-ry9cx 4 жыл бұрын
I am making JS videos inspired by you 😀
@Fireship
@Fireship 4 жыл бұрын
Awesome! Subbed :)
@Dev-ry9cx
@Dev-ry9cx 4 жыл бұрын
You’re the best :)
@donalfonsnisnoni2819
@donalfonsnisnoni2819 4 жыл бұрын
then subscribe... keep make good content
@perfect.stealth
@perfect.stealth 2 жыл бұрын
You're an awesome teacher, and an even better video creator 😂
@CodingCatDev
@CodingCatDev 4 жыл бұрын
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 😸
@FidelGuajardo
@FidelGuajardo 4 жыл бұрын
Always great content!!!
@user-vg7zv5us5r
@user-vg7zv5us5r Жыл бұрын
8:30 I had always knew that you should treat PL as some sort of fighting game combo movelist notation.
@G3Number
@G3Number 4 жыл бұрын
Amazing content as always! Insta thumbs up!
@JonSmoley
@JonSmoley 4 жыл бұрын
+1 for the 'meow' at 10:00
@The-Average-Gamer
@The-Average-Gamer 4 жыл бұрын
Love your content!! Any ETA on the angular course?
@hannanel100
@hannanel100 4 жыл бұрын
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'
@mohithadiyal6083
@mohithadiyal6083 3 жыл бұрын
High quality production👍
@AmeixaNerd
@AmeixaNerd 4 жыл бұрын
Excellent content!
@jugzster
@jugzster 4 жыл бұрын
Douglas Crockford 😆 clearly explained concepts as usual, with funny pop culture references!
@HopoZ7
@HopoZ7 11 ай бұрын
Do you know how to show the debugg information after the code like in the video?Thank you.
@alexfrancis6091
@alexfrancis6091 3 жыл бұрын
What extention is used to display output of console in vs code?
@sexyeur
@sexyeur 4 жыл бұрын
Look at that schoolhouse rock interlude. Haha Kudos for creative impact...
@alexandervashchuk7795
@alexandervashchuk7795 4 жыл бұрын
Which vscode plugin shows errors inside the editor?
@omgitzanarwhal
@omgitzanarwhal 4 жыл бұрын
Quokka or Wallaby
@alexandervashchuk7795
@alexandervashchuk7795 4 жыл бұрын
@@omgitzanarwhal Thanks man
@ma0r4
@ma0r4 4 жыл бұрын
What plugin does he use to preview the result?
@ashishtiwari3094
@ashishtiwari3094 4 жыл бұрын
Very useful content
@architbhonsle7356
@architbhonsle7356 4 жыл бұрын
What font are you using? Looks so noice
@rp2804
@rp2804 4 жыл бұрын
Stack overflow finally i hot it 😂🤯🙏 and please make a video on functions vs classes
@shriniwasrocks
@shriniwasrocks 4 жыл бұрын
beautiful!
@2aryanpro
@2aryanpro 4 жыл бұрын
What text editor is he using, also what plugins is he using as well.
@CodingAfterThirty
@CodingAfterThirty 4 жыл бұрын
Until we reach stack overflow... 😱🤯💥
@anderskok9919
@anderskok9919 4 жыл бұрын
What extensions do you use, more specifically the extension that comments your code real time?
@nicholasmaniccia1005
@nicholasmaniccia1005 4 жыл бұрын
Quokka
@alibarznji2000
@alibarznji2000 4 жыл бұрын
i would love to see you make a node js+ express video
@dcknature
@dcknature Жыл бұрын
Okay, you got me on this one 😊! Hence I liked, subscribed and wrote 179-th comment to this video 😁👍.
@btngana2077
@btngana2077 Жыл бұрын
how do you get these live console logs ?
@ssokurenko
@ssokurenko 4 жыл бұрын
Jeff, this is amazing how you can you simply describe complex concepts! One of the best web dev channels! Than you
@BradenJohnYoung
@BradenJohnYoung 4 жыл бұрын
Jolly good!
@johnmikelregida7142
@johnmikelregida7142 4 жыл бұрын
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?
@gonzalolopezbascur8078
@gonzalolopezbascur8078 4 жыл бұрын
Hi, i think that he is using this plugin: quokkajs.com/
@MizikeDM
@MizikeDM 4 жыл бұрын
5:16 if you only have one parameter you can also omit the parentheses.
@user-vg7zv5us5r
@user-vg7zv5us5r Жыл бұрын
8:20 Does JS have a command list like in Tekken and the area, platform to practice combos, ahem, functions?
@davesomeone4059
@davesomeone4059 Жыл бұрын
Yes
@superyngo
@superyngo Жыл бұрын
this and self in function now refers to windows?right?
@ZeeshanElia
@ZeeshanElia Жыл бұрын
Superbbbbbbb 👍
@wchorski
@wchorski 2 жыл бұрын
To help me understand better. const [ meow, setName ] = useCat(); the "meow" function is just calling the first "useCat();" and "setName" is calling "newName"?
@mridulbarman027
@mridulbarman027 3 жыл бұрын
Bro your videos are more than MIT ❣️
@nothingnoone8752
@nothingnoone8752 3 жыл бұрын
His jokes & memes are underrated
@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 :)
@user-bf7ln3lq8c
@user-bf7ln3lq8c 2 ай бұрын
How do you use these icons in V.S. Code? they look so cool! (started programming a week ago😵‍💫😬)
@eljanabbasov6953
@eljanabbasov6953 4 жыл бұрын
how do u use those icons?
@Luxcium
@Luxcium 4 жыл бұрын
Like the Easter eggs 🥚 10:04 !!!
@alsaamit
@alsaamit 4 жыл бұрын
Ohh Man .. Which Theme do you use in Vs code ? .. i like everything about you your content and your Theme XD
@adamtak3128
@adamtak3128 4 жыл бұрын
How do you use emojis in vscode?
@devi_buns
@devi_buns 4 жыл бұрын
How do you add emojis in your code ?
@Luxcium
@Luxcium 4 жыл бұрын
11:03 I don’t understand what is maximum call stack size exceeded ... Should I reach to stack overflow to get an answer because to do that will be an impossible recursive task to achieve 😜
@gladstonross12
@gladstonross12 4 жыл бұрын
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
@dibbyo456
@dibbyo456 2 жыл бұрын
Now I understood why Jeff Atwood named "StackOverflow "
An Encounter with JavaScript Objects
10:38
Fireship
Рет қаралды 142 М.
The JavaScript Survival Guide
14:47
Fireship
Рет қаралды 713 М.
Joven bailarín noquea a ladrón de un golpe #nmas #shorts
00:17
Eccentric clown jack #short #angel #clown
00:33
Super Beauty team
Рет қаралды 20 МЛН
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 26 МЛН
狼来了的故事你们听过吗?#天使 #小丑 #超人不会飞
00:42
超人不会飞
Рет қаралды 54 МЛН
I built a JavaScript framework
10:11
Fireship
Рет қаралды 482 М.
The Weird History of JavaScript
12:09
Fireship
Рет қаралды 1,2 МЛН
Dear Functional Bros
16:50
CodeAesthetic
Рет қаралды 447 М.
JavaScript: How It's Made
10:54
Fireship
Рет қаралды 867 М.
Higher Order Functions - JavaScript Tutorial
10:10
ColorCode
Рет қаралды 59 М.
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Рет қаралды 2 МЛН
JavaScript ES6 Arrow Functions Tutorial
9:32
Web Dev Simplified
Рет қаралды 812 М.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
JavaScript Higher Order Functions & Arrays
34:56
Traversy Media
Рет қаралды 977 М.
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,5 МЛН
🤔Почему Samsung ПОМОГАЕТ Apple?
0:48
Technodeus
Рет қаралды 456 М.
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 6 МЛН
Выложил СВОЙ АЙФОН НА АВИТО #shorts
0:42
Дмитрий Левандовский
Рет қаралды 1,2 МЛН
What percentage of charge is on your phone now? #entertainment
0:14
The power button can never be pressed!!
0:57
Maker Y
Рет қаралды 54 МЛН