{"ScriptPreparationCode":null,"TestCases":[{"Name":"12","Code":"let params = {a: undefined, b: null, c: false, d: \u0027a\u0027, e: 1};\r\nObject.keys(params).reduce((urlParams, key) =\u003E {\r\n if (params[key] === undefined) return urlParams;\r\n\r\n return \u0060${urlParams}${key}=${encodeURIComponent(String(params[key]))}\u0026\u0060;\r\n }, \u0027?\u0027).slice(0, -1);\r\n \r\n ","IsDeferred":false},{"Name":"13","Code":"let params = {a: undefined, b: null, c: false, d: \u0027a\u0027, e: 1};\r\nObject.keys(params).reduce((urlParams, key) =\u003E {\r\n if (params[key] === undefined) return urlParams;\r\n\r\n return \u0060${urlParams}${urlParams !== \u0027\u0027 ? \u0027\u0026\u0027 : \u0027?\u0027}${key}=${encodeURIComponent(String(params[key]))}\u0060;\r\n }, \u0027\u0027);","IsDeferred":false}]}