function wrapEvent(eventTarget, event) {
    const Wrapper = getWrapper(Object.getPrototypeOf(event));
    return new Wrapper(eventTarget, event)
}
function wrapEvent(eventTarget, event) {
    const Wrapper = getWrapper(Object.getPrototypeOf(event));
    return new Wrapper(eventTarget, event)
}
function wrapEvent ( eventTarget , event ) { const Wrapper = getWrapper ( Object . getPrototypeOf ( event ) ) ; return new Wrapper ( eventTarget , event ) }
Wrap a given event to management a dispatching.
@param {EventTarget} eventTarget The event target of this dispatching.
@param {Object} event The event to wrap.
@returns {Event} The wrapper instance.
@private
Wrap a given event to management a dispatching .