Back to School Sale -
20% off all courses with code BTS2019
Search for courses or lessons
Redeem a coupon
Start free trial
What is a function?
The combination of an array and an object
A program inside your program
A block of code meant to perform a specific task that you can call from anywhere in your program
What do some programming languages call functions?
How do you invoke a function called myFunction?
Just call the function name myFunction;
You don't invoke them, they get invoked when your program runs
Call the function name with parenthesis, myFunction();