{"ScriptPreparationCode":"var truthyBool = true;\r\nvar falsyBool = false;\r\n\r\n//Currently set to -1, but will change to 1 (truthyNum) and 0 (falsyNum).\r\nvar truthyNum = -1;\r\nvar falsyNum = -1;","TestCases":[{"Name":"If statement","Code":"if(truthyBool === true){\r\n truthyNum = 1;\r\n}\r\nelse{\r\n truthyNum = 0;\r\n}\r\n\r\nif(falsyBool === true){\r\n falsyNum = 1;\r\n}\r\nelse{\r\n falsyNum = 0;\r\n}","IsDeferred":false},{"Name":"Ternary","Code":"truthyNum = truthyBool ? 1 : 0;\r\nfalsyNum = falsyBool ? 1 : 0;","IsDeferred":false},{"Name":"Unary","Code":"truthyNum = \u002BtruthyBool;\r\nfalsyNum = \u002BfalsyBool;","IsDeferred":false}]}