-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The form (function(){...})() is a function literal that is executed immediately. What this means is that you have defined a function and you are calling it immediately. This form is useful for information hiding and encapsulation since anything you define inside that function remains local to that function and inaccessible from the outside world.
- Loading branch information
1 parent
8499ad0
commit a88d01e
Showing
1 changed file
with
74 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters