JavaScript, Code Quality.
for validating the special case and he resetting it to old state. and being good citizen he wrote comment also to explain why he change it.But when you are in rush and wants to quickly push the patch to the bug we will not go through the entire code base to validate the state and variables right?