if (isString(hash) && defined(val)) {
            key = hash;
            hash = {};
            hash[key] = val;
        }