{"ScriptPreparationCode":"var str = \u0022\u0022;\r\nvar i;\r\nvar sArr = [];","TestCases":[{"Name":"Join","Code":"for (i = 1000; i \u003E 0; i--) {\r\n\tsArr[i] = \u0022String concatenation. \u0022;\r\n}\r\nstr = sArr.join(\u0022\u0022);","IsDeferred":false},{"Name":"Push \u0026 Join","Code":"for (i = 1000; i \u003E 0; i--) {\r\n\tsArr.push(\u0022String concatenation. \u0022);\r\n}\r\nstr = sArr.join(\u0022\u0022);","IsDeferred":false},{"Name":"Reduce","Code":"for (i = 1000; i \u003E 0; i--) {\r\n sArr.push(\u0022String concatenation. \u0022);\r\n}\r\nstr = sArr.reduce((a, v) =\u003E a \u002B= \u0060${v} \u0060, \u0027\u0027);","IsDeferred":false},{"Name":"Reduce \u0026 Trim","Code":"for (i = 1000; i \u003E 0; i--) {\r\n sArr.push(\u0022String concatenation. \u0022);\r\n}\r\nstr = sArr.reduce((a, v) =\u003E a \u002B= \u0060${v} \u0060, \u0027\u0027).trim();","IsDeferred":false},{"Name":"Array expression \u0026 Reduce","Code":"for (i = 1000; i \u003E 0; i--) {\r\n sArr = [ ...sArr, \u0022String concatenation. \u0022 ];\r\n}\r\nstr = sArr.reduce((a, v) =\u003E a \u002B= \u0060${v} \u0060, \u0027\u0027);","IsDeferred":false}]}