Resolve lint flags

- Add missing semicolon
- Remove trailing whitespace
- Use `!==` to compare with `null`
- Remove unnecessary initialization with `undefined`
- Remove unnecessary semicolon
Then which one do you prefer?
1. `arr[i] && arr[i] !== null`
2. `arr[i] != null`
3. `arr[i]`