We usually call a function by using a set on parenthesis after its name eg. fun() but what if our function returned a function? In that case you would be able to call it again function hello(){ console.log("Hello"); return () => console.log("...

Markdown supported · ⌘↵ to post
No responses yet.