Closures can capture and store references to any constants and variables from the
context in which they are defined. This is known as closing over those constants and
variables, hence the name “closures”. Swift handles all of the memory management of
capturing for you.