VirtualMV/JavaScript/Starting/Functions

Functions
To create a function you define its name, any values ("arguments"), and some statements:

Calling a function

Example 1: (js1_11)


Example :.

Example 2: (js1_13)


Example :.

Example 3: (js1_14)
Example :.