A function can be declared as local
to limit the scope of the function.
It's a good practice to use local
whenever possible to limit the scope of functions and variables to where they are needed. It allows for a flexible and modular approach in designing functions.