Workshop Notes
Workshop Notes
FUNCTIONS
1. //simple function
2. //function with argument
3. //function with default argument
4. //function with return type
5. //function with return type and argument
6. //function as a variable
7. //arrow function (no need for curly braces in a single line
function)