Javascript clamp numbers
⚠️ Open up the console to see the results!