Node.js - URL and Query String Handling
What will be the output of this code?
const url = new URL('https://example.com');
url.pathname = '/products';
url.searchParams.set('id', '123');
console.log(url.toString());