Node.js - URL and Query String Handling
You want to change the query parameter
id to 42 in this URL: https://shop.com/products?category=books&id=10. Which code correctly updates the URL using the URL class?