let params = new URLSearchParams([["first", "hello"],["second", "world"]]).toString(); console.log(params);