JavaScript Functions In 90 Seconds #JavaScriptJanuary

preview_player
Показать описание
Watch the entire #JavaScriptJanuary series from the beginning!

A JavaScript function is a block of code designed to perform a specific task and to be reusable. A standard, named function is defined with the function keyword, then a name, then parentheses.

The function name can contain letters, numbers, underscores, and dollar signs. The parentheses may include parameter names separated by commas. The code to be executed is placed inside curly braces.

You may hear the terms parameters and arguments used somewhat interchangeably. Arguments are the values received by the function when it is invoked, or called. The parameters, or arguments, are then used within the code block as variables.

Another thing to consider when writing functions is that variables declared within a function become local to the function and cannot be accessed outside of the function.

But functions do have access to variables on the outside. This is called scope. Outside of the function would be globally scoped and inside of the function is locally scoped.

I'll be releasing a new video every day in January! Stay tuned..
_____________________________________

📚 Learn to CODE in just a FEW months here:
_____________________________________

🛠️ Tools I use:

_____________________________________

💖 Show support!
_____________________________________

Watch Next:
_____________________________________

Connect With Me:
_____________________________________

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

#JavaScriptJanuary #31Days31Videos #codeSTACKr
Рекомендации по теме
Комментарии
Автор

Thanks for all of the support! Stay tuned for a new video every day in January!!

Watch the entire #JavaScriptJanuary series from the beginning!

📚 My Favorite Web Design Books 📚
Web Design with HTML, CSS, JavaScript and jQuery Set by Jon Duckett (paid link)

codeSTACKr
Автор

I think this 90 second series should not stop in january with js I mean I suggest to be more with react for example or css

mahmoudsalah
Автор

Hey bro..i love your javascript January series❤.please make another series like react January and node January.. I hope that will help for your subscriber.
Thank you

CODEABC
Автор

Nice video as always. Btw i have a question; what is the use of .bind(), apply() and call()?🤔

Ali-lbcg
Автор

Hi, I loved your content. I saw your video on freecodecamp about Sass and it was amazing.
Please also create a course on Electronjs.
You are my big inspiration.
BTW I also have a youtube channel: Max Programming.
And how do you make these animations to teach?

MaxProgramming
Автор

What's the difference between let x=function()... and function x()... ?

AdamsTaiwan
Автор

Honestly I didn't like your January uploads. It's more like learning theory then actual programming. Web development tuts should be more practical.

FirdavsiWebDev