Loading homepage
Implement a query-string reader with duplicate keys, form decoding, iteration, and canonical serialization.
Input: const params = new SearchParams("?tag=react&tag=vue&q=hello+world"); params.get("tag"); params.getAll("tag"); Output: "react" and ["react", "vue"].
Input: params.get("q"); params.toString(); Output: "hello world" and "tag=react&tag=vue&q=hello+world".
Implement the exported class in index.js or index.ts. Tests provide fixtures for the required behavior.