Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # JS Fundamentals
- ## Closure
- A nested function, retains a reference when the function has ended.
- Remember that state of a variable declared in the parent's scope.
- * Lexical Scope
- * Privatises variables declared in the parent scope
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement