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/year/2019/function-prototype-tostring-revision.md.
  • English
  • Function.prototype.toString revision S4

    Proposal details
    Proposal overview

    This proposal revises Function.prototype.toString to provide more consistent and useful output across different implementations. It aims to specify the exact behavior of toString for built-in functions and user-defined functions.

    Note

    The README below comes from the upstream repository and may contain outdated stage or status metadata. Use the proposal details above as the current source of truth.

    See the proposal introduction for more info.