{"ScriptPreparationCode":"const randString = function () {\r\n return (Math.random() \u002B 1).toString(36).substring(7);\r\n};\r\n\r\nconst inputs = []\r\n .concat(Array.from({ length: 1000 }, () =\u003E randString()))\r\n .concat(Array.from({ length: 1000 }, () =\u003E Math.random()))\r\n .concat(\r\n Array.from({ length: 1000 }, () =\u003E ({\r\n a: Math.random(),\r\n b: randString(),\r\n }))\r\n )\r\n .concat(Array.from({ length: 1000 }, () =\u003E [Math.random(), randString()]));\r\n\r\nfunction getRandomInput() {\r\n return inputs[Math.floor(Math.random() * inputs.length)];\r\n}\r\nfunction testToString(val) {\r\n return val.toString();\r\n}\r\nfunction testToStringCoercion(val) {\r\n return val \u002B \u0022\u0022;\r\n}","TestCases":[{"Name":"testToString","Code":"let nums = [];\r\nfor(let i = 0; i \u003C 100; \u002B\u002Bi) {\r\n const val = getRandomInput()\r\n nums.push(testToString(val));\r\n}","IsDeferred":false},{"Name":"testToStringCoercion","Code":"let nums = [];\r\nfor(let i = 0; i \u003C 100; \u002B\u002Bi) {\r\n const val = getRandomInput()\r\n nums.push(testToStringCoercion(val));\r\n}","IsDeferred":false}]}