{"ScriptPreparationCode":null,"TestCases":[{"Name":"Typeof","Code":"const values = {\r\n borderRadius: 0,\r\n lineHeight: 1.5\r\n}\r\n\r\nif(typeof values.borderRadius !== \u0027undefined\u0027 \u0026\u0026 typeof values.lineHeight !== \u0027undefined\u0027 \u0026\u0026 typeof values.borderRadius !== \u0027null\u0027 \u0026\u0026 typeof values.lineHeight !== \u0027null\u0027){\r\n\tvar borderRadius = values.borderRadius;\r\n\tvar lineHeight = values.lineHeight;\r\n}","IsDeferred":false},{"Name":"Function","Code":"const values = {\r\n borderRadius: 0,\r\n lineHeight: 1.5\r\n}\r\n\r\nfunction isDef(v) {\r\n return v !== undefined \u0026\u0026 v !== null;\r\n}\r\n\r\nif(isDef(values.borderRadius) \u0026\u0026 isDef(values.lineHeight)){\r\n\tvar borderRadius = values.borderRadius;\r\n\tvar lineHeight = values.lineHeight;\r\n}","IsDeferred":false}]}