function (object) {
		var parts = [];
		for (var param in object) {
			if (object.hasOwnProperty(param)) {
				parts.push(encodeURIComponent(param) + '=' + encodeURIComponent(object[param]));
			}
		}

		return parts.join('&');
	}
function (object) {
		var parts = [];
		for (var param in object) {
			if (object.hasOwnProperty(param)) {
				parts.push(encodeURIComponent(param) + '=' + encodeURIComponent(object[param]));
			}
		}

		return parts.join('&');
	}
function ( object ) { var parts = [ ] ; for ( var param in object ) { if ( object . hasOwnProperty ( param ) ) { parts . push ( encodeURIComponent ( param ) + '=' + encodeURIComponent ( object [ param ] ) ) ; } } return parts . join ( '&' ) ; }
Serialize an object into a string of query parameters. This does not return the beginning ?.

@param {object} object The object to serialize
@returns {string}
Serialize an object into a string of query parameters . This does not return the beginning ? .