Instead of using console.log to see the result of your function, please return the value that you want. Then to see the result, call console.log(oldestLivingFather(people));