The JavaScript engine and the JavaScript runtime are responsible for running JavaScript code, the JavaScript engine alone will freeze the page as long as the call stack is not empty. it means that the JavaScript engine is synchronous. but with the JavaScript runtime, we can run asynchronous code.
The JavaScript runtime is a set of features the exist in the browser and while the JavaScript engine runs our code synchronously, the browser works in the background.
Continue reading “JavaScript Runtime”