MCPcopy Index your code
hub / github.com/prototypejs/prototype / toQueryString

Function toQueryString

src/prototype/lang/object.js:249–251  ·  view source on GitHub ↗

* Object.toQueryString(object) -> String * - object (Object): The object whose property/value pairs will be converted. * * Turns an object into its URL-encoded query string representation. * * This is a form of serialization, and is mostly useful to provide complex * parameter

(object)

Source from the content-addressed store, hash-verified

247 * // -> 'action=ship&order_id=123&fees=f1&fees=f2&label=a+demo'
248 **/
249 function toQueryString(object) {
250 return $H(object).toQueryString();
251 }
252
253 /**
254 * Object.toHTML(object) -> String

Callers

nothing calls this directly

Calls 1

$HFunction · 0.85

Tested by

no test coverage detected