Optional
Readonly
Protected
Static
Rest
Takes an integer value and returns the item at that index, allowing for positive and negative integers. Negative integers count back from the last item in the array.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Returns a string representation of an object.
Takes an integer value and returns the item at that index, allowing for positive and negative integers. Negative integers count back from the last item in the array.