We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According MDN, the following usages of the constructor should be equivalent:
// Pass in a sequence var params3 = new URLSearchParams([["foo", 1],["bar", 2]]);
// Pass in a record var params4 = new URLSearchParams({"foo" : 1 , "bar" : 2});
However, given the first ('sequence') style, the constructor will produce the following: '0=a%2C1&1=b%2C2' (encoded '0=a,1&1=b,2')
'0=a%2C1&1=b%2C2'
The text was updated successfully, but these errors were encountered:
Support construct with a sequence (#40)
9534531
Hi,
Thanks for your issue. I have fixed this and released v7.0.0.
v7.0.0
Sorry, something went wrong.
Thanks for the swift response!
No branches or pull requests
According MDN, the following usages of the constructor should be equivalent:
However, given the first ('sequence') style, the constructor will produce the following:
'0=a%2C1&1=b%2C2'
(encoded '0=a,1&1=b,2')The text was updated successfully, but these errors were encountered: