For AI agents: the complete documentation index is available at /tc39-atlas/en/llms.txt, the full documentation bundle is available at /tc39-atlas/en/llms-full.txt, and this page is available as Markdown at /tc39-atlas/en/proposals/change-number-parseint-parsefloat-to-not-coerce-null-undefined-nan-repo-link-tbd.md.
  • English
  • Change Number.parseInt/parseFloat to not coerce null/undefined/NaN (repo link TBD) S1

    Proposal details
    Proposal overview

    This proposal aims to change the behavior of Number.parseInt and Number.parseFloat so that they do not coerce null, undefined, or NaN arguments, potentially returning NaN instead of the current coerced value. The proposal is currently in an early stage, as indicated by the placeholder for the repository link and empty README. It seeks to improve consistency or predictability of these operations, but details and maturity are not yet fully specified.

    The upstream repository does not provide a README.