{"ScriptPreparationCode":"var a = true, b;","TestCases":[{"Name":"strict equals","Code":"if (a === true) {\r\n b = true;\r\n} else {\r\n b = false\r\n}\r\nif (a === false) {\r\n b = true;\r\n} else {\r\n b = false;\r\n}","IsDeferred":false},{"Name":"ternary strict equals","Code":"b = (a === true) ? true : false;\r\n\r\nb = (a === false) ? true : false;","IsDeferred":false},{"Name":"simple equality","Code":"if (a == true) {\r\n b = true;\r\n } else {\r\n b = false;\r\n }\r\n\r\n if (a == false) {\r\n b = true;\r\n } else {\r\n b = false;\r\n }","IsDeferred":false},{"Name":"simple ternary equality","Code":"b = (a == true) ? true : false;\r\n\r\nb = (a == false) ? true : false;","IsDeferred":false},{"Name":"truthy / falsy","Code":"if (a) {\r\n b = true;\r\n} else {\r\n b = false;\r\n}\r\n\r\nif (!a) {\r\n b = true;\r\n} else {\r\n b = false;\r\n}","IsDeferred":false},{"Name":"ternary truthy / falsy","Code":"b = (a) ? true : false;\r\nb = (!a) ? true : false;","IsDeferred":false}]}