How To Create/Use Functions - JavaScript Essentials

  Рет қаралды 140,251

Web Dev Simplified

Web Dev Simplified

Күн бұрын

Пікірлер: 124
@jessewilliams522
@jessewilliams522 Жыл бұрын
I've been a software engineer for 10+ years... I just enjoy seeing how you explain things because it helps me better explain things to non software engineers and my family!
@daleryanaldover6545
@daleryanaldover6545 Жыл бұрын
same, always makes it easier for me to teach others as well
@markmccann2
@markmccann2 Жыл бұрын
What an amazing mindset. Props man
@wolfhaize
@wolfhaize Жыл бұрын
I knew how these worked, but the way you explain things just makes it so much easier to understand.
@FlockofSmeagles
@FlockofSmeagles Ай бұрын
This is how programming should be approached. Gaining an understanding. Rather than doing things by rote.
@triteraerlangga7917
@triteraerlangga7917 Жыл бұрын
I've been coding for a couple of years and know how it works, yet I still enjoy your videos. One more thing about function, you also can write a default value inside the parameter. function sum(a = 0, b = 0) { return a + b; } so, it always returns a "value" even though you are not putting any argument
@redfoxethealgerian9598
@redfoxethealgerian9598 Жыл бұрын
can it be a string ?
@triteraerlangga7917
@triteraerlangga7917 Жыл бұрын
@redfoxethealgerian9598 Yes, you can.. you can put any default value, primitive, object, or even a function
@null_spacex
@null_spacex Жыл бұрын
*me who has been writing JavaScript for 2+ years*: ah yes, interesting
@adityafitriansyah97
@adityafitriansyah97 Жыл бұрын
Hahaha
@lalithrockz
@lalithrockz Жыл бұрын
😂
@jampey
@jampey 7 ай бұрын
shut up
@null_spacex
@null_spacex 3 ай бұрын
@t0shii_137 haha good luck bro!
@jotasenator
@jotasenator Жыл бұрын
the younger version of me thanks you a lot, the new gen of coders seen this video will thank you a lot Kyle. the true wisdom is in explaining the simple...someone wise once said...
@4Mulator
@4Mulator Жыл бұрын
Wow, I finally got functions! Thank you so much ❤! can you do more short tuts on other fundamentals like Arrays and Objects! I'm super grateful 🙏🏼
@nirau
@nirau Жыл бұрын
Currently going through TOP foundation of JavaScript and your video is super helpful! Thank you.
@muhammadishaque4818
@muhammadishaque4818 Жыл бұрын
Hey dev, I am from Pakistan, you might not know about me and my country But I really appreciate your efforts and the way you define all the very basic things in a very simple and tremendous way, keep it up and thanks alot.
@simriths.s5976
@simriths.s5976 11 ай бұрын
Allah hu Bomb
@ZahryD
@ZahryD Жыл бұрын
I was just learning functions from Udemy and then got hit by alert on youtube on your video lol. Thank you.
@loopylibby
@loopylibby 5 ай бұрын
Thank you for this! I have struggled to understand JS for so long - HTML and CSS i flew through, but JS I keep getting stumped on. This really cleared a lot of it up. :)
@ygjt76v0-----
@ygjt76v0----- Жыл бұрын
Your teaching is amazing, realy clean
@HighlyProductive_
@HighlyProductive_ Жыл бұрын
You explain things so well. Can you make a video for loops and when/how to use the different kinds
@cagedbird7173
@cagedbird7173 8 ай бұрын
Very helpful video! Can’t believe how simple you were able to explain it.
@Zeee530
@Zeee530 Жыл бұрын
I've always been confused about returning values and this helped alot
@phrasekim
@phrasekim 10 ай бұрын
I got the concept of function and why we use it. Thanks a lot!
@stith_pragya
@stith_pragya 11 ай бұрын
Thank You So Much for this wonderful video....................🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@yifanli8534
@yifanli8534 Жыл бұрын
I love the brief and understandable explanation
@rayanfernandes2631
@rayanfernandes2631 Жыл бұрын
Best video in store for JavaScripters.
@andreademartinis3263
@andreademartinis3263 Жыл бұрын
You've watched it in 2 minutes?
@rayanfernandes2631
@rayanfernandes2631 Жыл бұрын
@@andreademartinis3263 Not really, but he sure explains really well.
@Hari983
@Hari983 Жыл бұрын
I love your channel. Although this video was targeting beginners more I still enjoyed revisiting foundations
@MSSPG
@MSSPG 6 ай бұрын
I looked at a presentation with functions, and understood NOTHING, after watching this I looked at it again and could confidently explain EVERYTHING 10/10
@ri3706
@ri3706 11 ай бұрын
You are a king. Thank you for this!
@andrewwarren654
@andrewwarren654 Жыл бұрын
Excellent description, presentation and content. Champion! Came looking for a good explanation, because the official linked-in course was quite confusing. Keep up the good work.
@danielmadison4451
@danielmadison4451 Жыл бұрын
Kyle Bravo! Nice video. Most impressed that you used the correct words "parentheses" and "Curley braces" LOL Using correct words helps beginners remember concepts. 🙂
@_xyx.
@_xyx. Жыл бұрын
Strictly speaking, "curley braces" is redundant. Braces are curley by definition. Just as brackets ([]) are square by definition. So we can say "braces" and "brackets" without qualifications.
@D7460N
@D7460N Жыл бұрын
Thanks for the vid! Timely and needed. Nice guitar.
@DeftDodo
@DeftDodo 5 ай бұрын
Functions are super important for Javascript! We know it!
@themarksmith
@themarksmith Жыл бұрын
Love these kinds of video as they are good as a recap...
@Chimefierce
@Chimefierce Жыл бұрын
Damn! Thanks for this video. Function has been kicking my butt for 2 days now. And I happened upon this video and now it all makes sense. Damn
@TG1417
@TG1417 Жыл бұрын
Good video, wish this was out when I was doing my bootcamp cuz for some reason the parameters weren't clicking for me
@cabdicasiiscabdullahi3552
@cabdicasiiscabdullahi3552 Ай бұрын
Thank you so much
@givikokakhetelidze8563
@givikokakhetelidze8563 4 ай бұрын
Where can I get a course by this guy only, like exactly this dude.
@TheDessycha
@TheDessycha 9 ай бұрын
you saved my life
@t1germetal
@t1germetal Жыл бұрын
Thanks for another great video, Kyle. I've learned so much just watching your videos and trying it out in my own code, please keep it going, man!
@saramahamed7343
@saramahamed7343 Жыл бұрын
So helpful. Thank you
@DanielMac-q6e
@DanielMac-q6e Ай бұрын
your voice is so soothing btw.
@amra.haleem5175
@amra.haleem5175 Жыл бұрын
جزاك الله خيراً
@theisoj
@theisoj Жыл бұрын
Thanks Kyle as always! 👍
@Gikkeoi
@Gikkeoi Жыл бұрын
Can you do a video about Redux? I like the way you explain things the most
@niklas_Slam_O
@niklas_Slam_O Жыл бұрын
Love your videos! Thanks so much.
@jonathanswift8736
@jonathanswift8736 8 ай бұрын
Thanks alot Kyle 🎉🎉
@irun_mon
@irun_mon Жыл бұрын
I'm literally just learning OOP in PHP and im glad to know that JS also has this, so i have the idea if i'll learn this later in JS class
@internetexplorer7880
@internetexplorer7880 Жыл бұрын
Almost all programming languages have functions
@irun_mon
@irun_mon Жыл бұрын
@@internetexplorer7880 I do know now, i just started couple months ago with basic web dev, now I'm learning PHP and JS but just the basic first like DOM
@daleryanaldover6545
@daleryanaldover6545 Жыл бұрын
goodluck to your endeavours
@irun_mon
@irun_mon Жыл бұрын
@@daleryanaldover6545 Awww thank you, you too. it's rare to find nice people on internet, i usually get bullied lol
@raven.4815
@raven.4815 Жыл бұрын
Hey! Good luck out there!
@WebDevChallenge-Ethiopia
@WebDevChallenge-Ethiopia 3 ай бұрын
Web Dev Challenge-Ethiopia
@kingwesleyXIV
@kingwesleyXIV 7 ай бұрын
You sir.... Are the best ❤
@EnzoAuditore
@EnzoAuditore Жыл бұрын
Thank you for this.
@mtsurov
@mtsurov Жыл бұрын
Happy belated bday 🎉, Kyle.
@petrvalenta8835
@petrvalenta8835 Жыл бұрын
Nice video Kyle! Have a good day too. 👍
@hardeepchhabra450
@hardeepchhabra450 Жыл бұрын
1 more thing you could've covered in this is that instead of return, If you yield, it will run even after it exits.
@montebont
@montebont Жыл бұрын
Nice one! Next step would be closures :-)
@pixelboatstudios4840
@pixelboatstudios4840 2 ай бұрын
Really helpful.
@dojutsu_devient
@dojutsu_devient 13 күн бұрын
can you make a vid explaining various types of functions
@stachowi
@stachowi Жыл бұрын
loved this
@mayursoftwarewalaa
@mayursoftwarewalaa Жыл бұрын
Thanks bro
@raphaelkamau4711
@raphaelkamau4711 Ай бұрын
It was helpful ☺️
@keymodded3679
@keymodded3679 Жыл бұрын
amazing content, keep it up :D
@BGdev305
@BGdev305 Жыл бұрын
@WebDevSimplified If I get the course, do you show how to setup Visual Studio for live editing like you have yours?
@altzkeira
@altzkeira 4 ай бұрын
PLEASE SOMEONE EXPLAIN THIS TO ME😢😢😢😢😢 It keeps saying type error:document.getelementbyId is not a function(In 'document.getelementbyId("mycheckbox")',document.getelementbyId'is undefined)
@Mikemestergaming
@Mikemestergaming Жыл бұрын
This good stuff mayne
@ashwinsuryawanshi
@ashwinsuryawanshi Жыл бұрын
Please create a video on JavaScript Proxy
@Justin-x106b
@Justin-x106b 2 ай бұрын
Mmm once again can anybody explore me what's the right usage of a return keyword 👉🏻👈🏻??
@ZubbyXp
@ZubbyXp Ай бұрын
Used to end a function execution and return a specified value to the caller
@Justin-x106b
@Justin-x106b 28 күн бұрын
@@ZubbyXp got it sir
@achyutrastogi8080
@achyutrastogi8080 Жыл бұрын
You should add a BASIC tag to the title, so that advanced users know we can watch it at 1.5 speed.
@inonaraphael
@inonaraphael Жыл бұрын
Annoying creature, u cant figure out by urself? Read the title again.
@NotesandPens-ro9wx
@NotesandPens-ro9wx Жыл бұрын
I would love if you land on flutter too :)
@4chillingout
@4chillingout 4 ай бұрын
I have 15 years experience at java script
@hma201
@hma201 2 ай бұрын
Ehm ...... Good for you ? Gimme some advice,what are you doing now in life ? Don't leave me with just 15yr of experience
@solvedfyi
@solvedfyi Жыл бұрын
Video would have been improved by sticking with the sayHi example for passing in parameters before moving over to the sum numbers
@Salamaleikum80
@Salamaleikum80 Жыл бұрын
Is there a way to use functions oldschool? Like not as objects?
@sammarayash-j2n
@sammarayash-j2n 3 ай бұрын
thanks so much it was helpfull :))))))))))
@doniaelfouly4142
@doniaelfouly4142 Жыл бұрын
Thanks
@AlThePal78
@AlThePal78 Жыл бұрын
I just want to say happy belated birthday 🎂
@bla156
@bla156 Жыл бұрын
I wonder if this is right video for this audience (regular viewers). It's like watching YT video about how to watch YT video🙂.
@atishchandole
@atishchandole Жыл бұрын
Arrow function is good or simple function ?
@heinzerbrew
@heinzerbrew Жыл бұрын
When he started off the "why use functions" with console.log() I thought he would mention built in functions
@beatsbyzayy
@beatsbyzayy 5 ай бұрын
Amazing video
@andyackon2743
@andyackon2743 Жыл бұрын
am just waiting for the day you will play that guitar in the background
@WorldRankMoba
@WorldRankMoba Жыл бұрын
Do you have any content about VueJs?
@GR_BackingTracks
@GR_BackingTracks Жыл бұрын
This is very helpful with the basics of how functions are born, but 7:43 and the next 8 seconds don't seem logical or explanatory to me: "Return puts the value inside the variable of that function", and yet you're simultaneously highlighting a newly-created variable (const) that is outside of the function you're referencing...
@devperatetechno8151
@devperatetechno8151 Жыл бұрын
hey, greetings could you explore qwik in the near future?
@obinazovibezzz2548
@obinazovibezzz2548 8 ай бұрын
thanks!!!
@SpaceMarine113
@SpaceMarine113 Жыл бұрын
i always like when he says "eXpecially" . Maybe he started doing it on purpose at this point, i wouldn't be surprised.
@sivaramagupta
@sivaramagupta Жыл бұрын
Hi There, how your code give results on browser, if you have the video for that please share
@fase8729
@fase8729 7 ай бұрын
Thx
@SuperCryingdevil
@SuperCryingdevil Жыл бұрын
is there a react typescript tutorial? or something more advanced ?
@anshulanand02
@anshulanand02 Жыл бұрын
Yes he has projects with react + TS like this kzbin.info/www/bejne/Y4Cxhqybo6yhjdk
@amirrezazada7491
@amirrezazada7491 Жыл бұрын
Sir, I have followed lots of tutorial on javascript but the problem is that I don't know where to add javascript on my projects.
@_MrCode
@_MrCode Жыл бұрын
Have a tutorial on React Is A Backend Framework Now
@alyssadevelops
@alyssadevelops Жыл бұрын
🙌🏼🙌🏼🙌🏼🙌🏼🙌🏼
@ArielZab
@ArielZab Жыл бұрын
Do one one classes
@soumelee5661
@soumelee5661 7 ай бұрын
00:04 Functions are important in JavaScript and learning them can be difficult for beginners 01:19 Create a function in JavaScript to perform a specific task. 02:30 A function stores and executes code when called. 03:40 Functions in JavaScript can take logic and code that is used repeatedly and put it in one place for easy reuse and modification. 04:49 Passing variables in a function 06:02 Understanding functions and return values in JavaScript. 07:12 Using the return keyword in a function 08:27 console.log is a function in JavaScript Crafted by Merlin AI.
@christdolphin69
@christdolphin69 Жыл бұрын
what is an EXspecially
@gorkemtr
@gorkemtr Жыл бұрын
we need advanced tutorial
@Nodsaibot
@Nodsaibot Жыл бұрын
thought he would include anonymous and self calling funcs
@thekwoka4707
@thekwoka4707 Жыл бұрын
I was expecting a 10 minute video to at least mention a single thing about functions that isn't "baby's first function"
@mayankcharan1688
@mayankcharan1688 Жыл бұрын
❤❤❤❤india
@GreyKym
@GreyKym 26 күн бұрын
started learning javascript from scratch and gotta say this shit is not easy😬😬😂op it gets easier tho cuz i aint givin up
@AntarikshRajkonwar
@AntarikshRajkonwar 5 ай бұрын
16/6/24 3:21am
@hassanallen1823
@hassanallen1823 Жыл бұрын
3>
@WitchDimension
@WitchDimension 7 ай бұрын
lol the way he moves his head when he is talking 😂🤣
@anastasiao4036
@anastasiao4036 6 ай бұрын
Me who's been coding for months but never knew what I was doing was called a function until now because it uses the keyword void in my c++ game mod: ah, yes, I see.
@smoothartist8987
@smoothartist8987 Жыл бұрын
Uiu
@112miecio
@112miecio Жыл бұрын
bro... slower
@MrLethal7
@MrLethal7 Жыл бұрын
Thank you 💛💙
@ridl27
@ridl27 Жыл бұрын
strange to see tutorials like this here lol :D
@WitchDimension
@WitchDimension 7 ай бұрын
Jesus christ, I almost downloaded a 1hour :30minute video to learn this sameconcept thank god I looked for something shorter, only 3 minutes in and already know more about functions than 6 minutes in that damn video 🥲😮‍💨😭I really wish the tech ppl didnt troll with long ahs explanations to things that are like 3 paragraphs worth of explanations
Formatting Is So Easy With The Intl JavaScript API
10:21
Web Dev Simplified
Рет қаралды 43 М.
JavaScript FUNCTIONS are easy! 📞
12:14
Bro Code
Рет қаралды 46 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 13 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Learn JavaScript Event Listeners In 18 Minutes
18:03
Web Dev Simplified
Рет қаралды 597 М.
The different types of JavaScript functions explained
14:47
Kevin Powell
Рет қаралды 44 М.
Learn JavaScript Scoping In 10 Minutes
11:39
Web Dev Simplified
Рет қаралды 62 М.
Learn DOM Manipulation In 18 Minutes
18:37
Web Dev Simplified
Рет қаралды 1 МЛН
JavaScript Function - What's your Function?
12:27
Fireship
Рет қаралды 185 М.
JavaScript ES6 Arrow Functions Tutorial
9:32
Web Dev Simplified
Рет қаралды 841 М.
How To Use Functions In Python (Python Tutorial #3)
14:55
CS Dojo
Рет қаралды 2,4 МЛН
JavaScript Functions Crash Course
1:36:54
freeCodeCamp.org
Рет қаралды 188 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 488 М.