Back to lesson
1. What is a function?
A block of code meant to perform a specific task that you can call from anywhere in your program
A program inside your program
The combination of an array and an object
2. What do some programming languages call functions?
3. How do you invoke a function called myFunction?
Call the function name with parenthesis, myFunction();
Just call the function name myFunction;
You don't invoke them, they get invoked when your program runs
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement