This should use the [`for ( ; i < len; i++ )`](https://github.com/ChrisAntaki/jquery/blob/8e68d8481e9a9c71da8737169ea284680e7ffd7f/src/attributes/classes.js#L28) pattern. `(elem = this[ i ]) != null` is reserved for cases where `length` is unreliable.