Is addEventListener() method a "standalone method" or a part of some Object? Like round() and floor() methods are associated with Math object?
addEventListener() is not a stand-alone method, it is part EventTarget which is a DOM interface implemented by objects that can receive events and may have listeners for them.
Try using addEventListener() method alone and you will understand.
Check out EventTarget on MDN.
Should be part of DOM related methods. In other words it's not standalone.
The addEventListener() is an inbuilt function in JavaScript citation link
Also here is what console log shows console.log(addEventListener):