URLSearchParams' constructor has been changed in https://github.com/whatwg/url/pull/175. It is now possible to create a new URLSearchParams by passing it any object (e.g. `new URLSearchParams({'foo': 'bar'})`).
Docs: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams