1. JavaScript Closures forDummiesby Morris Johnshttp://blog.morrisjohns.com/javascript_closures_for_dummies 2. scopeVariables have each function scopes.not in any functions,…