Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions 1-js/09-classes/01-class/1-rewrite-to-class/solution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
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