Skip to content

Conversation

chetana0410
Copy link

added my website page

@praveenscience praveenscience added the hacktoberfest-accepted Hacktoberfest Accepted label Oct 31, 2021
Copy link

@vikasganiga05 vikasganiga05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The best practice to clear the interval using clearInterval(), when count = 1000.

  • assign setInterval function to a const variable.
  • then inside setInterval function add else condition clearInterval(<variable-name>) for (count < 1000).

If you need any help regarding this feel free to ask 🙂 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Hacktoberfest Accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants