Re: [whatwg/url] New URLSearchParams algorithm does not check if optional init variable is set (#333)

Hmm... but isn't that for the constructor call?

The constructor, incidentally, _does_ check whether _init_ is given (twice!):
> 1. If init is given, is a string, and starts with U+003F (?), remove the first code point from init.
> 2. Return a new URLSearchParams object, using init if given.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/333#issuecomment-313928803

Received on Sunday, 9 July 2017 16:05:19 UTC