Editorial: Clean up Well-Known Intrinsic Objects table - #3881
Merged
Conversation
linusg
commented
Jun 2, 2026
| <emu-clause id="sec-value-properties-of-the-global-object-infinity"> | ||
| <h1>Infinity</h1> | ||
| <p>The value of `Infinity` is *+∞*<sub>𝔽</sub> (see <emu-xref href="#sec-ecmascript-language-types-number-type"></emu-xref>). This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.</p> | ||
| <p>The initial value of the *"Infinity"* property of the global object is *+∞*<sub>𝔽</sub> (see <emu-xref href="#sec-ecmascript-language-types-number-type"></emu-xref>).</p> |
Member
Author
There was a problem hiding this comment.
I don't quite like it but "initial value" is used for non-writable non-configurable properties all over the place. Potential for future cleanup.
|
The rendered spec preview for this PR is available as a single page at https://tc39.es/ecma262/pr/3881 and as multiple pages at https://tc39.es/ecma262/pr/3881/multipage . |
nicolo-ribaudo
approved these changes
Jun 2, 2026
nicolo-ribaudo
left a comment
Member
There was a problem hiding this comment.
I think I was one of those worried about visual noise, but it actually does not look bad :)
ljharb
force-pushed
the
clean-up-intrinsics
branch
from
June 2, 2026 21:17
0902256 to
c0a2b1a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3836.
When we discussed this there was skepticism about using strings for the Global Name column due to the amount of visual noise but ultimately I prefer it over the monospace rendering because property names are represented as strings across the spec. Monospace rendering works best for informal mention of functions in prose IMO.
There's little precedent but at least https://tc39.es/ecma262/#sec-common-iteration-interfaces contains tables with property names in a similar fashion.
We could possibly use this column to replace the hand-wavy
Let name be the String value of the property name.inSetDefaultGlobalBindingsin the future (but might have to introduce a third table for the value properties to do so).