Plum Interview Question

To create a timer in react