function serializeEventTarget(target) {
    try {
        return isElement$1(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);
    }
    catch (_oO) {
        return '<unknown>';
    }
}
Creates a string representation of the target of an `Event` object