When you have a set of variables or want to make your code simpler, you will use a function. Creating a function is really easy all you have to do is write something like:
function myFunctionName() {
//Function data
}
When you have a set of variables or want to make your code simpler, you will use a function. Creating a function is really easy all you have to do is write something like:
function myFunctionName() {
//Function data
}