full-stack overflow
full-stack overflow
Projects
Blog
Tags
Categories
GitHub
var
31
Dec 2017
Scope & Closures: let vs var in JavaScript
Closures allow a function to retain information about its context after the function has returned. We provide examples and cases where closures can be useful.