{"ScriptPreparationCode":null,"TestCases":[{"Name":"switch case","Code":"function thing(e) {\r\n switch (e) {\r\n case 0:\r\n return \u00220\u0022;\r\n\r\n case 1:\r\n return \u00221\u0022;\r\n\r\n case 2:\r\n return \u00222\u0022;\r\n\r\n case 3:\r\n return \u00223\u0022;\r\n }\r\n}\r\n\r\nfor (let e = 0; 1e5 \u003E e; e\u002B\u002B) for (let e = 0; \u00223\u0022 != thing(e); e\u002B\u002B) ;","IsDeferred":false},{"Name":"jump table","Code":"function one() {\r\n return \u00220\u0022;\r\n}\r\n\r\nfunction two() {\r\n return \u00221\u0022;\r\n}\r\n\r\nfunction three() {\r\n return \u00222\u0022;\r\n}\r\n\r\nfunction four() {\r\n return \u00223\u0022;\r\n}\r\n\r\nlet jumpTable = [ one, two, three, four ];\r\n\r\nfor (let a = 0; 1e5 \u003E a; a\u002B\u002B) for (let a = 0; \u00223\u0022 != jumpTable[a](); a\u002B\u002B) ;","IsDeferred":false},{"Name":"bounce patttern","Code":"function bounce(x) \r\n{\r\n if (x === 0) {\r\n return \u00220\u0022;\r\n }\r\n if (x === 1) {\r\n return \u00221\u0022;\r\n }\r\n if (x === 2) {\r\n return \u00222\u0022;\r\n }\r\n if (x === 3) {\r\n return \u00223\u0022;\r\n }\r\n}\r\nfor (let e = 0; 1e5 \u003E e; e\u002B\u002B) for (let e = 0; \u00223\u0022 != bounce(e); e\u002B\u002B) ;","IsDeferred":false},{"Name":"ternary","Code":"function bounce(x) {\r\n return 0 === x ? \u00220\u0022 : 1 === x ? \u00221\u0022 : 2 === x ? \u00222\u0022 : 3 === x ? \u00223\u0022 : \u0022\u0022;\r\n}\r\n\r\nfor (let e = 0; 1e5 \u003E e; e\u002B\u002B) for (let e = 0; \u00223\u0022 != bounce(e); e\u002B\u002B) ;","IsDeferred":false}]}