Simplify by adding early returns.

```js
var isEmptyProto = // ...
if (isEmptyProto) return false;

isAccessorProperty = // ...
return accessorPropertiesOnly ? isAccessorProperty : !isAccessorProperty;
```

Add missing semicolon on L183.