Loading problem…
Implement clamp(value, lower, upper), which constrains a number to an inclusive range.
value when it is inside the inclusive range.value is outside the range.lower > upper, swap the bounds before clamping.value is NaN, return NaN.