Skip to content

Conversation

@rosald
Copy link

@rosald rosald commented Jan 1, 2026

Updated technical documentation to accurately describe console.log() as a function call expression (not merely a statement) and 5 === '5' as a comparison expression. Both are expressions in JavaScript, but differ in that console.log() produces side effects with an undefined return value, while comparison expressions directly return boolean results.

Description

Validation

Related Issues

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.

Updated technical documentation to accurately describe console.log() as a function call expression (not merely a statement) and 5 === '5' as a comparison expression. Both are expressions in JavaScript, but differ in that console.log() produces side effects with an undefined return value, while comparison expressions directly return boolean results.

Signed-off-by: rosald <35028438+rosald@users.noreply.github.com>
@rosald rosald requested a review from a team as a code owner January 1, 2026 04:48
@vercel
Copy link

vercel bot commented Jan 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nodejs-org Ready Ready Preview Jan 1, 2026 4:49am

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2026

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! 🙏

@avivkeller
Copy link
Member

I don't see how the changes make anything clearer, it's plenty clear atm imo

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.

2 participants