Here you go, smaller *and* safer:
```js
this.isDefaultPrevented = src.defaultPrevented ||
        src.defaultPrevented === undefined &&
        src.getPreventDefault && src.getPreventDefault() ?
    returnTrue :
    returnFalse;
```