https://stackabuse.com/guide-to-javascript-closures/ Guide to JavaScript Closures In this tutorial, we'll go over how scopes work in JavaScript, as well as what closures are and how they work. We'll then go over examples and use-cases of closures. stackabuse.com