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

Remove unused JS library function: jstoi_s. NFC #23788

Closed
wants to merge 1 commit into from

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 27, 2025

This function was also mis-documented. Its was added #10457 but even then it was unused only add because "good to have for completeness".

However, the behavior of the JS Number function is not as described in the comment. Instead Number("123abc") returns NaN.

On balance I think its better to just remove it.

This function was also mis-documented.  Its was added emscripten-core#10457 but even
then it was unused only add because "good to have for completeness".

However, the behavior of the JS `Number` function is not as described
in the comment.  Instead `Number("123abc")` returns NaN.

On balance I think its better to just remove it.
@sbc100
Copy link
Collaborator Author

sbc100 commented Feb 27, 2025

Closing a favor of larger change #23789

@sbc100 sbc100 closed this Feb 27, 2025
@sbc100 sbc100 deleted the jstoi_s branch February 27, 2025 23:45
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.

1 participant