News for hackers. Stuff that matters.
Re:EasyDropzoneJS – open-source JavaScript library for drag&... by lioeters on Sunday August 06, 2023 @06:42AM (#37020674)
Here is some information about this pattern, it's called Immediately Invoked Function Expression. It's a way to create a function scope so that all variables are local, except for any that you want to "export" as a global.

https://developer.mozilla.org/en-US/docs/Glossary/IIFE

There are no comments on this comment yet.