A recursive function is a function that calls itself. Take for example, the following function that is designed to find out if any numbers in an array happen to be odd. const odd = (arr) => { //check the length of the array, if empty there are no odd nums …