Shift `isProperty` and `forOwn` into `if`-block
Rename `undef` to `undefined`