{"ScriptPreparationCode":null,"TestCases":[{"Name":"Split","Code":"\u0022lorem ipsum\u0022.split(\u0027\u0027).map((char, index) =\u003E index % 2 ? char.toUpperCase() : char).join(\u0027\u0027);","IsDeferred":false},{"Name":"replace","Code":"\u0022lorem ipsum\u0022.replace(/(.)(.)/g, (substring, m1, m2) =\u003E {\r\n return m1 \u002B m2.toUpperCase();\r\n});","IsDeferred":false},{"Name":"For","Code":"const value = \u0022lorem ipsum\u0022\r\n\r\n\u00A0\u00A0let\u00A0result\u00A0=\u00A0\u0027\u0027;\r\n\u00A0\u00A0let\u00A0toggle\u00A0=\u00A0false;\r\n\u00A0\u00A0for(let\u00A0i\u00A0=\u00A00;\u00A0i\u00A0\u003C\u00A0value.length;\u00A0i\u002B\u002B) {\r\n\u00A0\u00A0\u00A0\u00A0if\u00A0(toggle) {\r\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0result\u00A0=\u00A0result\u00A0\u002B\u00A0value.charAt(i);\r\n\u00A0\u00A0\u00A0\u00A0}\u00A0else\u00A0{\r\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0result\u00A0=\u00A0result\u00A0\u002B\u00A0value.charAt(i).toUpperCase();\r\n\u00A0\u00A0\u00A0\u00A0}\r\n\u00A0\u00A0\u00A0\u00A0toggle\u00A0= !toggle;\r\n\u00A0\u00A0}\r\n","IsDeferred":false}]}