What is scope in javascript?



What is scope in javascript?..

Answer / Deepak Kumar Pathak

In JavaScript, a Scope refers to the area where variables have their meaning. The three types of scopes are Global, Local, and Block.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is directive?

1 Answers  


What are the uses of angularjs?

1 Answers  


List the types of data binding supported by angular 5?

1 Answers  


What is app_base_href in angular 4/5?

1 Answers  


What is the difference between ngoninit() and constructor() of a component?

1 Answers  


What is providedin in angular?

1 Answers  


What are zones? What is ngzone? What is change detection? What is ngzone run outside?

1 Answers  


What is default scope in a angular directive?

1 Answers  


Explain .config() and .run() methods in angularjs?

1 Answers  


What are the differences between service and factory methods?

1 Answers  


Why do we need services in angular?

1 Answers  


What does ng controller do?

1 Answers  


Categories