Node.js - URL and Query String Handling
Given the object
{ search: 'books', page: 2, filter: '' }, which code snippet correctly creates a query string excluding keys with empty values using URLSearchParams?