Skip to content

Commit d21c648

Browse files
committed
Update README.md
1 parent 35a6e13 commit d21c648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Many of my styles have been from the many pair programming sessions [Ward Bell](
9595

9696
*Why?*: An IIFE removes variables from the global scope. This helps prevent variables and function declarations from living longer than expected in the global scope, which also helps avoid variable collisions.
9797

98-
*Why?*: When your code is minified and bundled into a single file for deployment ot a production server, you could have collisions of variables and many global variables. An IIFE protects you against both of these by providing variable scope for each file.
98+
*Why?*: When your code is minified and bundled into a single file for deployment to a production server, you could have collisions of variables and many global variables. An IIFE protects you against both of these by providing variable scope for each file.
9999

100100
```javascript
101101
/* recommended */

0 commit comments

Comments
 (0)