[v4] searchParams.sort is not a function
Closed this issue · 1 comments
nghiepdev commented
Hi guys,
Sometimes, I get an error on Chrome Mobile 77
searchParams.sort is not a function
sindresorhus commented
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.