Build a Search Query String in JavaScript
PHP has http_build_query and I never forget it. JavaScript's URLSearchParams does the same thing but doesn't filter empty values or prepend ?. This helper wraps it into something you can…
Currently accepting new projects and available for hire.
PHP has http_build_query and I never forget it. JavaScript's URLSearchParams does the same thing but doesn't filter empty values or prepend ?. This helper wraps it into something you can…