checkIfIteratorIsSupported = function () {
        try {
            return !!Symbol.iterator;
        } catch (error) {
            return false;
        }
    }
Polyfill URLSearchParams

Inspired from : https://github.com/WebReflection/url-search-params/blob/master/src/url-search-params.js