frontend · medium

Closure

A function that retains access to variables from its enclosing scope after that scope has closed.

Tags: javascript