{"ScriptPreparationCode":"/*your preparation JavaScript code goes here\r\nTo execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/\r\nconst a = [];\r\nasync function globalMeasureThatScriptPrepareFunction() {\r\n // This function is optional, feel free to remove it.\r\n // await someThing();\r\n \tfor(let i = 0; i \u003C 100000; i\u002B\u002B) {\r\n const x = Math.floor(Math.random() * 1000);\r\n const y = Math.floor(Math.random() * 1000);\r\n a.push({ x, y });\r\n }\r\n}","TestCases":[{"Name":"join","Code":"const d = a.map(path =\u003E \u0060${path.x.toFixed(0)},${path.y.toFixed(0)}\u0060).join(\u0027 \u0027);\r\n\u0060M${d}\u0060","IsDeferred":false},{"Name":"for loop concatenation","Code":"let b = \u0027M\u0027;\r\nfor(let j = 0; j \u003C a.length; j\u002B\u002B) {\r\n const point = a[j];\r\n const x = point.x.toFixed(0);\r\n const y = point.y.toFixed(0);\r\n b \u002B= x \u002B \u0027,\u0027 \u002B y \u002B \u0027 \u0027;\r\n}","IsDeferred":false}]}