{"ScriptPreparationCode":"var searchParams = new URLSearchParams(new Array(100).fill({\r\n key: \u0027foo\u0027,\r\n value: \u0027bar\u0027\r\n}).map(({\r\n key,\r\n value\r\n}) =\u003E [key, value].join(\u0022=\u0022)).join(\u0022\u0026\u0022))","TestCases":[{"Name":"Array.from","Code":"const queryParameters = Array.from(searchParams)\r\n .filter(([key, value]) =\u003E key \u0026\u0026 value)\r\n .map(([key, value]) =\u003E ({ key, value }));","IsDeferred":false},{"Name":"forEach","Code":"const queryParameters = [];\r\n\r\nsearchParams.forEach((value, key) =\u003E {\r\n if (key \u0026\u0026 value) { queryParameters.push({ key, value }); }\r\n});","IsDeferred":false},{"Name":"for...of","Code":"const queryParameters = [];\r\n\r\nfor (const [key, value] of searchParams.entries()) {\r\n if (key \u0026\u0026 value) { queryParameters.push({ key, value }); }\r\n}","IsDeferred":false}]}