DEV Community

Discussion on: What are Events in JavaScript and How to Handle Them?

Collapse
 
smlka profile image
Andrey Smolko

Regarding your phrase - "Events in JavaScript allow developers...". I would say that JS does not have events as events are platform specific things (browser/node.js). I would say that a platform provides API methods is JS to be able to to add event handler functions and react when event happens

Collapse
 
shahednasser profile image
Shahed Nasser

Thanks for your input!