NNikhilshettyinnikhilshetty.hashnode.dev·Oct 27, 2022 · 1 min readClosures in javaScriptwhat is a closure and how it works? In computer programming, closure is the combination of a function and the lexical environment within which that function was declared. This environment consists of any local variables that were in-scope at the time...00