Skip to content
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

Clarify the return value of Number() constructor #33352

Merged
merged 2 commits into from
May 31, 2024

Conversation

Ahmed-Hakeem
Copy link
Contributor

The current state of the return value may be mistaken that only type coercion happens when the Number() called as a function, so I clarified that type coercion happens in both cases (called as a constructor or as a function)

@Ahmed-Hakeem Ahmed-Hakeem requested a review from a team as a code owner May 1, 2024 15:24
@Ahmed-Hakeem Ahmed-Hakeem requested review from Josh-Cena and removed request for a team May 1, 2024 15:24
@github-actions github-actions bot added Content:JS JavaScript docs size/s 6-50 LoC changed labels May 1, 2024
Copy link
Contributor

github-actions bot commented May 1, 2024

Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

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

Thanks

@Josh-Cena Josh-Cena merged commit cca8713 into mdn:main May 31, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:JS JavaScript docs size/s 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants