Programming Tips - With jQuery how can I convert an object into a query string?

Date: 2017nov14 Library: jQuery Language: javaScript Q. With jQuery how can I convert an object into a query string? A. Using jQuery.param(obj) like this:
const obj = { hello: 1, world: 2 }; const qs = $.param(obj); console.log('qs is ' + qs);