{"ScriptPreparationCode":"var foo = \u0027foo\u0027;\r\nvar bar = \u0027bar\u0027;\r\nvar baz = \u0027baz\u0027;\r\nvar arr = [foo, bar, baz];","TestCases":[{"Name":"Create Array and Join","Code":"\r\nvar i = 10000;\r\nwhile (i--) {\r\n\tvar str = [foo, bar, baz].join(\u0027 \u0027);\r\n}","IsDeferred":false},{"Name":"Array join only","Code":"var i = 10000;\r\nwhile (i--) {\r\n \tvar str = arr.join(\u0027 \u0027);\r\n}","IsDeferred":false},{"Name":"es6","Code":"var i = 10000;\r\nwhile (i--) {\r\n \tvar str = \u0060${foo} ${bar} ${baz}\u0060;\r\n}","IsDeferred":false},{"Name":"old school","Code":"var i = 10000;\r\nwhile (i--) {\r\n \tvar str = foo \u002B \u0027 \u0027 \u002B bar \u002B \u0027 \u0027 \u002B baz;\r\n}","IsDeferred":false},{"Name":"Update array and join;","Code":"var i = 10000;\r\nvar updateArr = [];\r\nwhile (i--) {\r\n updateArr[0] = foo;\r\n updateArr[1] = bar; \r\n updateArr[2] = baz;\r\n var str = updateArr.join(\u0027 \u0027);\r\n}","IsDeferred":false}]}