How to correct the problem of reporting an error URLSearchParamsU is not defined?

   const params = new URLSearchParams();
      if (r.query.keyword) {
        const eachSlice = r.query.keyword.split(",");
        const retList = [];
        for (let i = 0; i < eachSlice.length; iPP) {
          retList.push(eachSlice[i].split(" "));
        }
        const retData = {
          data: retList,
        };
        if (r.query.keyword.length !== 0) {
          params.append("key", JSON.stringify(retData));
        }
      }
      if (this.tempParamsPackge.sex_value !== "") {
        if (this.tempParamsPackge.sex_value !== "") {
          params.append("sex", this.tempParamsPackge.sexValue);
        }
      } else if (r.query.sex_value && r.query.sex_value !== "") {
        if (r.query.sex_value !== "") {
          params.append("sex", r.query.sex_value);
        }
      }
      }

how to correct the problem of reporting an error URLSearchParamsU is not defined?

Apr.11,2021

a polyfill for the URLSearchParams API
is implemented once in an environment that is not natively supported.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3da51-e8fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3da51-e8fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?