{"ScriptPreparationCode":"var obj = { type: 1 }","TestCases":[{"Name":"if/if","Code":"if(!obj) {\r\n return \u0027not defined\u0027\r\n}\r\nif(obj.type === 1) {\r\n return \u0027defined 1\u0027\r\n}\r\nif(obj.type === 2) {\r\n return \u0027defined 2\u0027\r\n}","IsDeferred":false},{"Name":"if/else if heterogeneous","Code":"if(!obj) {\r\n return \u0027not defined\u0027\r\n}\r\nelse if(obj.type === 1) {\r\n return \u0027defined 1\u0027\r\n}\r\nelse if(obj.type === 2) {\r\n return \u0027defined 2\u0027\r\n}","IsDeferred":false},{"Name":"if \u0026 if/else if homogeneous","Code":"if(!obj) {\r\n return \u0027not defined\u0027\r\n}\r\nif(obj.type === 1) {\r\n return \u0027defined 1\u0027\r\n}\r\nelse if(obj.type === 2) {\r\n return \u0027defined 2\u0027\r\n}","IsDeferred":false}]}