{"ScriptPreparationCode":"var minmax = (x, a, b) =\u003E Math.min(Math.max(x, a), b);\r\nvar ternary = (x, a, b) =\u003E x \u003C a ? a : x \u003E b ? b : x;","TestCases":[{"Name":"Min-max","Code":"const v = minmax(Math.random(), 0.2, 0.8);","IsDeferred":false},{"Name":"Ternary operator","Code":"const v = ternary(Math.random(), 0.2, 0.8);","IsDeferred":false}]}