Rohit
Rohit

Reputation: 1001

How does google V8 handles javascript events

I am trying to understand Google V8 javascript engine, I went through https://developers.google.com/v8/get_started which lets javascript code be understood and executed. I am not getting how the events in javascript like Mouse click, Mouse over etc are interpreted by V8. I came across Nodejs Event Loop and this http://html5tv.rot13.org/JSConf.eu-Node.js.html , where later is the event loop for node.js can any point to something which can me a clear picture

Upvotes: 0

Views: 1533

Answers (1)

Esailija
Esailija

Reputation: 140210

Javascript has no such things as events.

Stuff like mouse events in the browser are given by the browser DOM, not Javascript. In Google Chrome for example they are implemented in WebKit/Blink

Upvotes: 1

Related Questions