Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 366 Bytes

File metadata and controls

10 lines (9 loc) · 366 Bytes

Solution is given in the sandbox below.

once you go through it -

  1. can you stop the clock afer 5seconds?
  2. why it is not stopping with current implementation?
  3. try printing this in the stop function ?
  4. why it is undefined ?
  5. think of ways to make it access the correct timerId
  6. try arrow function
  7. learn the difference between these two ways