Finishing the coding

Console log the result from the function.