Closure in JavaScript refers to the concept of a child function retaining access to variables declared in its parent scope even after the parent function has completed its execution.
Sort: