Node.js - URL and Query String Handling
You need to encode multiple query parameters,
name='John Doe' and city='New York', for a URL in Node.js. Which code snippet correctly encodes these parameters?