|
In JavaScript, a function is a complete section of program code that performs a specific task or a group of related tasks.
JavaScript functions can work together using the tasks of one function to help another function, to make tests, get input, give output, perform processes (such as arithmetic), and return values.
|
|