Skip to content

feat(learn): setTimeout() return type #7960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShubhamOulkar
Copy link
Contributor

Description

rebase of #7759

Docs validation

https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout#return_value
https://nodejs.org/api/timers.html#class-timeout

Related Issues

closes #7672

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@ShubhamOulkar ShubhamOulkar requested a review from a team as a code owner July 8, 2025 03:48
Copy link

vercel bot commented Jul 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Jul 8, 2025 1:19pm

@avivkeller avivkeller changed the title docs: Clarify setTimeout() return type feat(learn): setTimeout() return type Jul 8, 2025
@avivkeller
Copy link
Member

Please add the other author as a Co-Author

Co-authored-by: Aviv Keller <me@aviv.sh>
Co-authored-by: vishal <vishalkumarvkvk988@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarify setTimeout return value in timers documentation (Node.js returns a Timeout object, not just an ID)
3 participants