News for hackers. Stuff that matters.
Re:Math.min(Math.max(num, min), max) by seanwilson on Thursday August 20, 2020 @03:42PM (#24227842)
I don't think it's obvious though - many people have never optimised for garbage collection so I thought it was worth pointing out.

I still found your approach interesting and it's rare there's a perfect approach so don't take it to heart.

There are no comments on this comment yet.