`cur !== 'auto'` is unnecessary. If the left-hand side evaluated to false, then it is implied `cur` is not equal to `"auto"`.