param
module
Serialize an object into a query string.
param(params)
Serializes an object or array into a query string useful for making Ajax requests or the
browser. param handles nested objects and arrays. It uses encodeURIComponent to
escape values and keys.
param({a: "b", c: "d"}) //-> "a=b&c=d"
param({a: ["X","Y"]}) //-> "a[]=X&a[]=Y"
Parameters
- params
{Object}:[description]
Returns
{String}:
[description]