Skip to content
New issue

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

[v4] searchParams.sort is not a function #106

Closed
nghiepdev opened this issue Feb 14, 2020 · 1 comment
Closed

[v4] searchParams.sort is not a function #106

nghiepdev opened this issue Feb 14, 2020 · 1 comment

Comments

@nghiepdev
Copy link

Hi guys,

Sometimes, I get an error on Chrome Mobile 77

searchParams.sort is not a function
@sindresorhus
Copy link
Owner

The .sort() method should exist: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/sort

So either you're including some polyfill that doesn't implement the .sort() method or it's a bug in Chrome. Chrome 77 is not the latest version, so this might have been fixed already. If not, you should report it to Chrome.

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

No branches or pull requests

2 participants