DEV Community

Discussion on: Javascript pattern that changed everything (for me...)

Collapse
 
juancarlospaco profile image
Juan Carlos

is Anon Function even a design pattern?. đŸ€”

Collapse
 
kristijanfistrek profile image
KristijanFiĆĄtrek

I believe it depends on the context of their use.
Because as far as I know, correct me if I am wrong, in this context we have an anonymous function in conjunction with object reference and scope manipulation, which creates a sort of a pattern we can follow in order to replicate this behaviour.
At least that's what I have picked up so far 😄

Collapse
 
juancarlospaco profile image
Juan Carlos

Fair'nuff :)