{"ScriptPreparationCode":"var str = \u0022\u0022;\r\nvar i;\r\nvar sArr = [];\r\nvar repStr = (new Array(100)).fill(\u0022String concatenation %\u0022).join(\u0022 \u0022);\r\nvar repData = (new Array(1000)).fill(0);\r\n","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":"replace","Code":"var index = 0;\r\nstr = repStr.replace(/%/g, function () {\r\n return repData[index\u002B\u002B];\r\n})","IsDeferred":false}]}