r/learnjavascript • • Oct 18 '20

Functions in Javascript | Javascript Functions Tutorial

https://youtu.be/u_lLNH38n5E
4 Upvotes

1 comment sorted by

View all comments

1

u/DaveOnEleven Oct 18 '20

In this video we'll look at examples of Functions in Javascript and learn how to create our own functions that are blocks of reusable code!

✅ Quick Concepts outline:

Functions in Javascript

(0:15) Built-in Functions

(0:55) Functions are reusable code blocks

(1:12) Function Declaration Syntax

(1:20) Creating a Basic Function: sum()

(2:09) Calling a Function into action

(2:50) Passing Parameters to a Function

(3:30) Creating Reusable Code with Functions

(3:50) Missing Parameters

(4:30) Handling Missing Parameters

(5:20) Another Function Example: getUserNameFromEmail()

(7:10) Is it reusable? Yes!

(7:30) Anonymous Functions

(8:30) Arrow Functions

(9:05) Creating One More Function: toProperCase()

If you enjoy this video, check out the ones that follow it in the playlist. I’ll continue to add more. Glad to answer your questions, too.

Functions in Javascript | Javascript Functions Tutorial: https://youtu.be/u_lLNH38n5E