{"ScriptPreparationCode":"var obj = {0:\u0022test\u0022,1:\u0022test\u0022,2:\u0022test\u0022,3:\u0022test\u0022};\r\n\r\n\r\n","TestCases":[{"Name":"Concatenation","Code":"for (let i = 0; i \u003C 10000; i\u002B\u002B){\r\n \tlet s = \u0022\u0022;\r\n \tfor (let j = 0; j \u003C 4; j\u002B\u002B){\r\n \ts \u002B= obj[j] \u002B \u0022 - \u0022; \r\n }\r\n s = s.substring(0,s.length - 3);\r\n}\r\n","IsDeferred":false},{"Name":"Template strings","Code":"for (let i = 0; i \u003C 10000; i\u002B\u002B){\r\n \tlet s = \u0060${obj[0]} - ${obj[1]} - ${obj[2]} - ${obj[3]}\u0060;\r\n}","IsDeferred":false},{"Name":"Concatenating strings with template strings","Code":"for (let i = 0; i \u003C 10000; i\u002B\u002B){\r\n \tlet s = \u0022\u0022;\r\n \tfor (let j = 0; j \u003C 2; j\u002B\u002B){\r\n \ts \u002B= obj[j] \u002B \u0022 - \u0022; \r\n }\r\n s \u002B= \u0060${obj[2]} - \u0060;\r\n s \u002B= \u0060${obj[3]}\u0060;\r\n}","IsDeferred":false},{"Name":"Concatenation without substring call","Code":"for (let i = 0; i \u003C 10000; i\u002B\u002B){\r\n \tlet s = obj[0] \u002B \u0022 - \u0022 \u002B obj[1] \u002B \u0022 - \u0022 \u002B obj[2] \u002B \u0022 - \u0022 \u002B obj[3];\r\n}","IsDeferred":false}]}