nodeEventTarget.eventNames()


    Node.js 特定于 EventTarget 类的扩展,它返回事件 type 名称的数组,事件监听器注册了这些名称。

    Node.js-specific extension to the EventTarget class that returns an array of event type names for which event listeners are registered.