Narendra Singh

Narendra Singh

  • 1.6k
  • 15
  • 434

how to use closures in javascript ?

Aug 25 2023 10:42 AM

A closure gives you access to an outer function's scope from an inner function. In JavaScript, closures are created every time a function is created, at function creation time.


Answers (2)