Master Frontend Interviews
Create a utility function called useCounter that helps you manage a numeric counter. It should provide methods to increase, decrease, reset, and directly set the counter value.
JavaScript Function
No test results yet
Click "Run" to execute tests