Why? It’s all about variable scoping. Variables declared in the self executing function are, by default, only available to code within the self executing function. This allows code to be written without concern of how variables are named in other blocks of JavaScript code. Example: (function() { var foo…
“NPM is a package manager. You use it to install Javascript tools that make life easier.” “Gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something.” Example: I downloaded the Understrap Theme for WordPress. I wanted to…