Back
Welcome to Intellipaat Community. Get your technical queries answered by top developers!
Self-invoking expressions are automatically invoked (started) without being called.
A self-invoking expression is invoked immediately after it has been created. This is basically used to avoid naming a conflict, as well as to achieve encapsulation. Outside of this function, the variables or declared objects are not available. To avoid problems of minimization (filename.min) always use self executed functions
31k questions
32.8k answers
501 comments
693 users