src/assets/js/javascript.js
function stringify(obj) {
        var arr = [];
        for (var x in obj) {
            arr.push(encodeURIComponent(x) + "=" + encodeURIComponent(obj[x]));
        }
        return arr.join("&");
    }
function stringify(obj) {
        var arr = [];
        for (var x in obj) {
            arr.push(encodeURIComponent(x) + "=" + encodeURIComponent(obj[x]));
        }
        return arr.join("&");
    }
Stringifies an object to a URL query string.
@param {object} obj
@returns {string}