It’s an Immediately-Invoked Function Expression, or shorter: IIFE. It executes immediately after it’s created. This pattern is often used when trying to avoid polluting the global namespace, because all the variables used in the function are not visible outside its scope.
S
Suresh Amudalapalli
@Suresh Amudalapalli