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
The combination of an array and an object
A program inside your program
2. What do some programming languages call functions?
3. How do you invoke a function called myFunction?
You don't invoke them, they get invoked when your program runs
Call the function name with parenthesis, myFunction();
Just call the function name myFunction;
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement