As the name suggests, a function called findAverage accepts a number of parameters, which act as placeholders for the values that you’d like to calculate. The function will then use these values to calculate the average. The return keyword then returns the average from the function. The results of this exercise will be displayed in a browser’s console. However, the code isn’t complete without these parameters. And the code block can be written in any language you wish, so make sure to use the variables that you’re familiar with.