I would like to create a custom event emitter in my client-side programs. I am referencing this (sparse) documentation for EventTarget My implementation attempt var Emitter = function Emitter() { EventTarget.call(this); }; Emitter.prototype = Object.create(EventTarget.prototype, { constructor: { value: Emitter } }); My desired usage var e = new Emitter(); e.addEventListener("hello", function() { c