Question #22

Author: admin
tags: JavaScript  
A regular object has been created:
let obj = {
 x: 1
};
Is it possible to add an event listener to this object by calling the obj.addEventListener() method on it?
No
Yes, in any browsers.
Yes, but only in browsers with ECMAScript 6+ support.
An event listener cannot be added to an ordinary object created via a literal using native methods.
To use native browser methods, an object must implement the EventTarget interface.
Support for the EventTarget() constructor has appeared in browsers since Firefox 59 and Chrome 64.
Rate the difficulty of the question:
easyhard