DEV Community

Discussion on: Demystifying Modern Frontend Jargon

Collapse
 
ifkas profile image
Ivo Culic • Edited

Very interesting topic. Just wondering, isn't thunk just a closure?

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.