Think of a function as a container for reusable pieces of logic. In this lesson, you'll create your very first function.
Homework: Write a function that determines if a provided age (sent through as an argument) is old enough to enter a 21-and-up night club. Have this function return a boolean, which can be used in any conditional.
Published on Jul 7th, 2016.