That's it for all the functions. We have gone over everything, from creating functions to using deprecated functions. We have even covered using functions as objects and methods. Just remember that functions are mainly used as blocks of repetitive code, parameters are used to slightly modify functions for different uses, you can use the return statement to return a value from a function, and methods are functions attached directly to objects. As you go through the rest of the book, you will begin to see where functions can come in handy. |