{"ScriptPreparationCode":"var str = \u0022\u0022;\r\nvar i;\r\nvar sArr = [];","TestCases":[{"Name":"String concatentation","Code":"for (i = 1000; i \u003E 0; i--) {\r\n\tstr \u002B= \u0022String concatenation. \u0022;\r\n}","IsDeferred":false},{"Name":"Array 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":"Array join (w/ push)","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":"Array reduce","Code":"for (i = 1000; i \u003E 0; i--) {\r\n\tsArr[i] = \u0022String concatenation. \u0022;\r\n}\r\nstr = sArr.reduce((a, v) =\u003E a \u002B= \u0060${v} \u0060, \u0027\u0027);","IsDeferred":false},{"Name":"Array reduce trim","Code":"for (i = 1000; i \u003E 0; i--) {\r\n\tsArr[i] = \u0022String concatenation. \u0022;\r\n}\r\nstr = sArr.reduce((a, v) =\u003E a \u002B= \u0060${v} \u0060, \u0027\u0027).trim();","IsDeferred":false}]}