Practice · 3 of 5
Clamped mutators
CHALLENGE
Difficulty: intermediate+25 XP
Fix both mutators: warm never exceeds 30, cool never drops below 0. Trace warm(15) from 20 and cool(25) from 5 before coding.
Press Submit to check your solution.
Back to lesson: Practice: Object workshop