Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

URLSearchParams accepts an object in the constructor #1

Closed
vkrol opened this issue Sep 16, 2019 · 1 comment
Closed

URLSearchParams accepts an object in the constructor #1

vkrol opened this issue Sep 16, 2019 · 1 comment

Comments

@vkrol
Copy link

vkrol commented Sep 16, 2019

Hello!

The current version of URLSearchParams accepts an object in the constructor.
Proof: https://codesandbox.io/s/urlsearchparams-object-tdo8i.
The corresponding change in the specification was made on 11 Jan 2017: whatwg/url#175 (comment).

@travishorn
Copy link
Owner

I looks like it has decent browser support, too.
https://caniuse.com/#feat=mdn-api_urlsearchparams_urlsearchparams

Thanks. Archiving this project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants