{"ScriptPreparationCode":null,"TestCases":[{"Name":"promise","Code":"const p = new Promise((resolve) =\u003E {\r\n\tsetTimeout(() =\u003E {\r\n \tresolve(1)\r\n\t}, 500)\r\n})\r\n\r\np.then((result) =\u003E {\r\n console.log(result)\r\n})","IsDeferred":false},{"Name":"jquery","Code":"const dfd = new $.Deferred();\r\n\r\nsetTimeout(() =\u003E {\r\n dfd.resolve(1)\r\n}, 500)\r\n\r\n$.when(dfd).then((result) =\u003E {\r\n console.log(result)\r\n})","IsDeferred":false}]}