Gabriel Rajadurai thank you for your response.

We can return a function from a higher order function. Please check the below syntax.

we can also return an object from the returning function.

Or we can even call some other function from a returning function also.

Hope this helps. :)




Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Suneet Agrawal

Suneet Agrawal

More from Medium

Anxiety is Different

Random thoughts 💭: Over scheduled or Poor time management? Hey youuuuu☺

Teaching Practice