...

/

Solution Review: Higher Order Functions

Solution Review: Higher Order Functions

In this lesson, we will discuss the solutions to the questions in the previous lesson.

Question 1: Solution review #

In the previous lesson, you were given the following code:

Press + to interact
const func1 = function(num){
return function(){
if(typeof num == 'NaN'){
return "Not a number"
}else{
return typeof(num)
}
}
}

For the code above, you had to answer the following question:

Explanation

...
Access this course and 1400+ top-rated courses and projects.