Function using the function keyword, followed by the function name, a set of parentheses for parameters, and a block of code enclosed in curly braces.
Function using the function keyword, followed by the function name, a set of parentheses for parameters, and a block of code enclosed in curly braces.