jaredhanson / passport-http

HTTP Basic and Digest authentication strategies for Passport and Node.js.

Home Page:https://www.passportjs.org/packages/passport-http/?utm_source=github&utm_medium=referral&utm_campaign=passport-http&utm_content=about

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

!= vs !==

ariutta opened this issue · comments

It's generally considered best practice to use

!==

instead of

!=

Would it be better to use

!==

in this line?
https://github.com/jaredhanson/passport-http/blob/master/examples/basic/app.js#L39

It's just an example. Use whatever is appropriate for your situation.