If you're doing the undefined and null check, the loose `!= null` might make sense, but it may need a separate JSHint rule may be required.