HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by Minor49er | Hacker News Reader
Parent
Full thread
Minor49er
·
Why wouldn't it return "foo" instead?
View on HN
meindnoch
·
Because "bar" < "baz" < "foo". The function signature is: clamp(value, min, max)
Reply on news.ycombinator.com