{"ScriptPreparationCode":"var foobar = [true, false, undefined, \u0022lorem-ipsum\u0022];","TestCases":[{"Name":"classnames","Code":"let result = window.classNames(\u0022dolor-sit-amet\u0022, ...foobar, undefined)","IsDeferred":false},{"Name":"clsx","Code":"let result = window.clsx(\u0022dolor-sit-amet\u0022, ...foobar, undefined)","IsDeferred":false},{"Name":"array, filter(Boolean), join","Code":"function cx(...input) {\r\n return input.filter(Boolean).join(\u0022 \u0022);\r\n}\r\nlet result = cx(\u0022dolor-sit-amet\u0022, ...foobar, undefined)","IsDeferred":false},{"Name":"array, filter(i =\u003E i), join","Code":"function cx(...input) {\r\n return input.filter(i =\u003E i).join(\u0022 \u0022);\r\n}\r\nlet result = cx(\u0022dolor-sit-amet\u0022, ...foobar, undefined)","IsDeferred":false},{"Name":"forEach, join","Code":"function cx(...input) {\r\n let res = [];\r\n input.forEach(i =\u003E {\r\n if (typeof i === \u0022string\u0022 \u0026\u0026 i !== \u0022\u0022) {\r\n res.push(i);\r\n }\r\n });\r\n return res.join(\u0022 \u0022);\r\n}\r\nlet result = cx(\u0022dolor-sit-amet\u0022, ...foobar, undefined)","IsDeferred":false},{"Name":"forEach, \u002B=","Code":"function cx(...input) {\r\n let res = \u0022\u0022;\r\n input.forEach(i =\u003E {\r\n if (typeof i === \u0022string\u0022 \u0026\u0026 i !== \u0022\u0022) {\r\n if (res !== \u0022\u0022) {\r\n res \u002B= (\u0022 \u0022 \u002B i);\r\n } else {\r\n res \u002B= i;\r\n }\r\n }\r\n })\r\n return res;\r\n}\r\nlet result = cx(\u0022dolor-sit-amet\u0022, ...foobar, undefined)","IsDeferred":false}]}