Events loop in JavaScript

Events loop in JavaScript

Event loop is what allows JavaScript to perform I/o operations

As Most developers know,that Javascript is single threaded, means 2 statement in JavaScript can not be excluded at the same time Execution happens line by line which means each JavaScript statement are synchronous and blocking but there is a way to run your code asynchronously,if you use setTimeout()