react-native-url-polyfill
react-native-url-polyfill copied to clipboard
The sort () of the URLSearchParams object is not valid
const params = new URLSearchParams('query=abc&type=search&query=123'); params.sort(); let result = params.toString(); console.log('result: ' + params.toString()); The log result should be:query=abc&query=123&type=search;
The actual log result is as follows:result: query=abc&type=search&query=123;