What is hoisting in js?



What is hoisting in js?..

Answer / Dharmpal Saini

Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their respective scopes during the compilation phase, making them accessible before they are declared.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is transclude in custom directive?

1 Answers  


What is bootstrapping in angular js?

1 Answers  


how to set a custom header on the request?

1 Answers  


How to append base url to http requests in angular?

1 Answers  


What is the difference between angular 1 and angular 2?

1 Answers  


What is bazel and closure compiler in angular 6? Explain

1 Answers  


How would you optimize the application for better performance in angular 2?

1 Answers  


What is the use of pipe in angular?

1 Answers  


Is typescript a programming language?

1 Answers  


What is the usage of controllers in angularjs?

1 Answers  


What is router-link directive in angular?

1 Answers  


What is default scope in a angularjs directive?

1 Answers  


Categories