eventNames
Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.
Return
An array listing the events for which the emitter has registered listeners.
Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.
An array listing the events for which the emitter has registered listeners.