Search for courses or lessons
Redeem a coupon
Start free trial
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
What do some programming languages call functions?
How do you invoke a function called myFunction?
Call the function name with parenthesis, myFunction();
You don't invoke them, they get invoked when your program runs
Just call the function name myFunction;
Back to the top
© 2020 GoSkills Ltd.
Skills for career advancement