DEV Community

Discussion on: Demystifying Modern Frontend Jargon

Collapse
 
ananyaneogi profile image
Ananya Neogi

The returned function is similar to closure, but a closure usually takes some further arguments while a thunk never does.