What are closures in javascript?



What are closures in javascript?..

Answer / hr@tgksolutions.com

A closure is a function that remembers the scope in which it was created, even after the outer function has finished execution.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More TypeScript Interview Questions

Who developed typescript?

0 Answers  


What is typescript and why one should use it?

0 Answers  


What is "as" syntax in typescript?

0 Answers  


What is declaration merging?

0 Answers  


What are typescript public, private, protected and readonly modifiers?

0 Answers  


What do you mean by interfaces?

0 Answers  


Tell the minimum requirements for installing typescript. Also, mention the steps involved in it.

0 Answers  


Which are the different data types supported by typescript?

0 Answers  


How many types you defined?

0 Answers  


What is the current stable version of typescript?

0 Answers  


What is default export in typescript?

0 Answers  


Is it possible to debug any typescript file?

0 Answers  


Categories