{"ScriptPreparationCode":"var a = function() {\r\n const apiresponse = {\r\n error: \u0027\u0027, \r\n isError: false,\r\n payload: undefined\r\n }\r\n try {\r\n // do stuff \r\n if (Math.random() \u003C 0.1) throw new Error(\u0022Panic!!!1\u0022)\r\n apiresponse.payload = 1;\r\n } catch (error) {\r\n apiresponse.error = error.message;\r\n apiresponse.isError = true;\r\n } \r\n return apiresponse;\r\n}\r\n\r\nvar b = function() {\r\n const apiresponse = {\r\n error: \u0027\u0027, \r\n isError: false,\r\n payload: undefined\r\n }\r\n try {\r\n // do stuff \r\n if (Math.random() \u003C 0.1) throw new Error(\u0022Panic!!!1\u0022)\r\n apiresponse.payload = 1;\r\n return apiresponse\r\n } catch (error) {\r\n apiresponse.error = error.message;\r\n apiresponse.isError = true;\r\n return apiresponse\r\n } \r\n}\r\n\r\n","TestCases":[{"Name":"One return","Code":"for (let i=0; i\u003C10000; i\u002B\u002B) a()","IsDeferred":false},{"Name":"Two return","Code":"for (let i=0; i\u003C10000; i\u002B\u002B) b()","IsDeferred":false}]}