Objects in JavaScript can have properties that are functions. we have seen in our previous article on how our property is writing to the console when called it using a property.
We will exploit this helpful and powerful tool write functions that be used for many actions.