Summary: Functions
Review what we learned about functions in JavaScript.
We'll cover the following...
Key points
- Functions can be defined using the
function
declaration, or by creating a function expression by assigning an anonymous function to a variable. - Arrow