Menu

1 / 2

Closure

DEV Community·Deva I·6 months ago
#4DWRGhae
Reading 0:00
15s threshold

Definition of Closure : A closure is a function that remembers and accesses variables from its outer scope even after the outer function has finished executing. Example Program : Output :

Anonymous readers can preview up to 1024 characters here. Log in to unlock the full article once ingest succeeds.