Function.prototype.toString revision S4
Proposal details
- Stage: Stage 4
- Status: Finished
- ECMAScript edition: ES2019
- Synchronized: Aug 28, 2026
- 中文译文 · Source repository
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.