{"ScriptPreparationCode":null,"TestCases":[{"Name":"async await","Code":"const c = async () =\u003E {\r\n\tlet temp = 3\r\n throw temp\r\n}\r\nconst b = async () =\u003E {\r\n let temp = 2\r\n return temp\r\n}\r\nconst a = async () =\u003E {\r\n\tlet temp = 1\r\n temp = await b().catch(e =\u003E { throw e })\r\n temp = await c().catch(e =\u003E { throw e })\r\n return temp\r\n}\r\n\r\na().catch(e =\u003E {})","IsDeferred":false},{"Name":"old way","Code":"const c = () =\u003E {\r\n\tlet temp = 3\r\n throw temp\r\n}\r\nconst b = () =\u003E {\r\n let temp = 2\r\n return temp\r\n}\r\nconst a = () =\u003E {\r\n\tlet temp = 1\r\n try {\r\n temp = b()\r\n } catch (e) {\r\n throw e\r\n }\r\n try {\r\n temp = c()\r\n } catch (e) {\r\n throw e\r\n }\r\n return temp\r\n}\r\n\r\ntry {\r\n a()\r\n} catch (e) {\r\n}","IsDeferred":false}]}