Skip to content

Commit

Permalink
Update minor change
Browse files Browse the repository at this point in the history
Corrected the syntax for heading in Benefits
  • Loading branch information
shivvamm authored Jul 25, 2023
1 parent 7aea90e commit 9bd9376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/glossary/iife/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ console.log(i); // Uncaught ReferenceError: i is not defined.

When clicked, these buttons alert 0 and 1.

##Benefits of IIFE
## Benefits of IIFE

Encapsulation: Variables and functions defined within the IIFE are local to the function's scope, preventing unintentional global variable declarations.

Expand Down

0 comments on commit 9bd9376

Please sign in to comment.