{"ScriptPreparationCode":"var a = Math.random() * 1000;\r\nvar b = Math.random() * 1000;\r\n\r\nfunction ternary_min_v2(x, y) {\r\n if (arguments.length === 2) {\r\n return x \u003C y ? x : y;\r\n }\r\n return x;\r\n}\r\n\r\nfunction ternary_min(x, y) {\r\n return x \u003C y ? x : y;\r\n}\r\n\r\nfunction bitwise_min(x, y) {\r\n return y ^ ((x ^ y) \u0026 -(x \u003C y));\r\n}","TestCases":[{"Name":"Math.min","Code":"var min = Math.min(a, b);","IsDeferred":false},{"Name":"Ternary","Code":"var min = ternary_min(a, b);","IsDeferred":false},{"Name":"Bitwise min","Code":"var min = bitwise_min(a, b);","IsDeferred":false},{"Name":"Ternary v2","Code":"var min = ternary_min_v2(a, b);","IsDeferred":false}]}