← Back to release summary
Symbol.prototype.description
- Category
- JavaScript
- Type
- New or changed feature
- Status
- Enabled by default (Chrome 70)
- Intent stage
- None
Summary
A description property is being added to Symbol.prototype. This provides a more ergonomic way of accessing the description of a Symbol. Previously, the description could be only be accessed indirectly through the Symbol.protoype.toString().
Standards & signals
Docs: https://v8.dev/features/symbol-description
View on chromestatus.com