websanova / js-url

url() - A simple, lightweight url parser for JavaScript
http://www.websanova.com
MIT License
1.93k stars 204 forks source link

url('?poo'); // null should be -> undefined #58

Closed j717273419 closed 7 years ago

j717273419 commented 7 years ago

if ?poo is not exist,url('?poo') value is undefined,not null.

url('?poo'); // null should be -> undefined

websanova commented 7 years ago

That's a typo, it should say undefined.

On Wed, Jun 14, 2017 at 4:58 PM, Jackdon Wang notifications@github.com wrote:

if ?poo is not exist,url('?poo') value is undefined,not null.

url('?poo'); // null should be -> undefined

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/websanova/js-url/issues/58, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkcyw3Y3NSAZIOb4uX_089HnackxqGRks5sD6DQgaJpZM4N5lTn .