js query to object code example
Example: object to query string js
const obj = {foo: "hi there", bar: "100%" };
const params = new URLSearchParams(obj).toString();
const obj = {foo: "hi there", bar: "100%" };
const params = new URLSearchParams(obj).toString();