{"ScriptPreparationCode":"function c1(val, min, max) {\r\n if (val \u003C min) return min;\r\n if (val \u003E max) return max;\r\n return val;\r\n}\r\n\r\nfunction c2(val, min, max) {\r\n return Math.min(Math.max(val, min), max);\r\n}","TestCases":[{"Name":"if else","Code":"const val = Math.round(Math.random() * 100);\r\nc1(val, 25, 75);","IsDeferred":false},{"Name":"min max","Code":"const val = Math.round(Math.random() * 100);\r\nc2(val, 25, 75);","IsDeferred":false}]}