unshiftio / url-parse

Small footprint URL parser that works seamlessly across Node.js and browser environments.
http://unshift.io
MIT License
1.03k stars 104 forks source link

This line doesn't look right #194

Closed Andersbakken closed 4 years ago

Andersbakken commented 4 years ago

I am not aware of this actually causing problems but it does seem impossible for that statement to be true

https://github.com/unshiftio/url-parse/blob/190b2168035899a2a88f2dc2625963bf7e2f338f/index.js#L236

lpinca commented 4 years ago
console.log(NaN !== NaN); // => true.