Callable class constructors ?
- Stage: Unstaged
- Status: Withdrawn
- ECMAScript edition: —
- Synchronized: Aug 28, 2026
- 中文译文 · Source repository
This proposal aims to allow class constructors to be called without the new keyword, enabling classes to behave like traditional functions. The current content is just the standard ECMAScript specification repository boilerplate, which does not yet include the proposal's specific details. Its maturity is uncertain; it appears to be in early exploration stages.
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.
ECMAScript
This repo
This repository contains the source for the current draft of ECMA-262, the ECMAScript® Language Specification.
This source is processed to obtain a human-readable version, which you can view here.
If you want to explore how the specification was written, you can also view the source with its history in searchfox.
Current Proposals
Proposals follow the TC39 process and are tracked in the proposals repository.
Contributing New Proposals
Please see Contributing to ECMAScript for the most up-to-date information on contributing proposals to this standard.
Developing the Specification
After cloning, do npm install to set up your environment. You can then do npm run build to build the spec or npm run watch to set up a continuous build. The results will appear in the out directory, which you can use npm run clean to delete.
Community
- ES discourse: Forum for ECMAScript discussion and questions
- Matrix: Chat