What is event loop in javascript?



What is event loop in javascript?..

Answer / Shiv Ram

The Event Loop is a mechanism that JavaScript uses to handle asynchronous code. It continuously checks the call stack and task queue for pending tasks, executing them when the call stack is empty. This allows JavaScript to perform non-blocking I/O operations like network requests or timeouts.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is Angular Prefixes $ and $$?

1 Answers   Xoriant,


What is Dependency Injection in AngularJS?

1 Answers  


What are $scope in angular js?

1 Answers  


What is link function in angularjs directive?

1 Answers  


What is client side routing?

1 Answers  


What is ivy compiler?

1 Answers  


What is restrict option in directive?

1 Answers   Xoriant,


Why does angular need an entrycomponents?

1 Answers  


What is example of directive?

1 Answers  


What is the core difference between angularjs compilation and javascript frameworks?

1 Answers  


If your data model is updated outside the ‘zone’, explain the process how will you the view?

1 Answers  


List the types of data binding supported by angular 5?

1 Answers  


Categories