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!
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
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...
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. :)
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.
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.
Kyle Bravo! Nice video. Most impressed that you used the correct words "parentheses" and "Curley braces" LOL Using correct words helps beginners remember concepts. 🙂
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.
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
@@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
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)
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...
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.
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.
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
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!
same, always makes it easier for me to teach others as well
What an amazing mindset. Props man
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
can it be a string ?
@redfoxethealgerian9598 Yes, you can.. you can put any default value, primitive, object, or even a function
I knew how these worked, but the way you explain things just makes it so much easier to understand.
I was just learning functions from Udemy and then got hit by alert on youtube on your video lol. Thank you.
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 🙏🏼
*me who has been writing JavaScript for 2+ years*: ah yes, interesting
Hahaha
😂
shut up
As one who began to learn JS couple days ago I can confirm that it's really interesting, even if I understood nothing
@@t0shii_137 haha good luck bro!
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...
Currently going through TOP foundation of JavaScript and your video is super helpful! Thank you.
You explain things so well. Can you make a video for loops and when/how to use the different kinds
Thank you so much
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. :)
Your teaching is amazing, realy clean
Thank You So Much for this wonderful video....................🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
Very helpful video! Can’t believe how simple you were able to explain it.
I love your channel. Although this video was targeting beginners more I still enjoyed revisiting foundations
I got the concept of function and why we use it.
Thanks a lot!
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.
Allah hu Bomb
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.
your voice is so soothing btw.
I love the brief and understandable explanation
I've always been confused about returning values and this helped alot
Thanks for the vid! Timely and needed.
Nice guitar.
You are a king. Thank you for this!
So helpful. Thank you
Kyle Bravo! Nice video. Most impressed that you used the correct words "parentheses" and "Curley braces" LOL Using correct words helps beginners remember concepts. 🙂
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.
جزاك الله خيراً
Where can I get a course by this guy only, like exactly this dude.
This is how programming should be approached. Gaining an understanding. Rather than doing things by rote.
Good video, wish this was out when I was doing my bootcamp cuz for some reason the parameters weren't clicking for me
Love these kinds of video as they are good as a recap...
Functions are super important for Javascript! We know it!
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
You sir.... Are the best ❤
Best video in store for JavaScripters.
You've watched it in 2 minutes?
@@andreademartinis3263 Not really, but he sure explains really well.
It was helpful ☺️
Happy belated bday 🎉, Kyle.
Really helpful.
you saved my life
Thanks bro
Can you do a video about Redux? I like the way you explain things the most
Thanks alot Kyle 🎉🎉
Nice one! Next step would be closures :-)
Love your videos! Thanks so much.
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
Thank you for this.
@WebDevSimplified If I get the course, do you show how to setup Visual Studio for live editing like you have yours?
Web Dev Challenge-Ethiopia
Nice video Kyle! Have a good day too. 👍
thanks so much it was helpfull :))))))))))
Thanks
Thanks Kyle as always! 👍
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
Almost all programming languages have functions
@@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
goodluck to your endeavours
@@daleryanaldover6545 Awww thank you, you too. it's rare to find nice people on internet, i usually get bullied lol
Hey! Good luck out there!
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!
Amazing video
loved this
Thx
Is there a way to use functions oldschool? Like not as objects?
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)
I would love if you land on flutter too :)
amazing content, keep it up :D
hey, greetings could you explore qwik in the near future?
thanks!!!
This good stuff mayne
I just want to say happy belated birthday 🎂
Arrow function is good or simple function ?
Do you have any content about VueJs?
Please create a video on JavaScript Proxy
Hi There, how your code give results on browser, if you have the video for that please share
1 more thing you could've covered in this is that instead of return, If you yield, it will run even after it exits.
Have a tutorial on React Is A Backend Framework Now
Video would have been improved by sticking with the sayHi example for passing in parameters before moving over to the sum numbers
I wonder if this is right video for this audience (regular viewers). It's like watching YT video about how to watch YT video🙂.
am just waiting for the day you will play that guitar in the background
When he started off the "why use functions" with console.log() I thought he would mention built in functions
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.
is there a react typescript tutorial? or something more advanced ?
Yes he has projects with react + TS like this ua-cam.com/video/-ONUyenGnWw/v-deo.html
Do one one classes
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...
I have 15 years experience at java script
Ehm ...... Good for you ? Gimme some advice,what are you doing now in life ? Don't leave me with just 15yr of experience
what is an EXspecially
Mmm once again can anybody explore me what's the right usage of a return keyword 👉🏻👈🏻??
Used to end a function execution and return a specified value to the caller
You should add a BASIC tag to the title, so that advanced users know we can watch it at 1.5 speed.
Annoying creature, u cant figure out by urself? Read the title again.
🙌🏼🙌🏼🙌🏼🙌🏼🙌🏼
thought he would include anonymous and self calling funcs
we need advanced tutorial
❤❤❤❤india
lol the way he moves his head when he is talking 😂🤣
3>
I was expecting a 10 minute video to at least mention a single thing about functions that isn't "baby's first function"
16/6/24 3:21am
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.
Uiu
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.
bro... slower
Thank you 💛💙
strange to see tutorials like this here lol :D
i always like when he says "eXpecially" . Maybe he started doing it on purpose at this point, i wouldn't be surprised.
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