Skip to content

Conversation

michaelficarra
Copy link
Member

Fixes #3627 according to the conclusion from last week's editor call.

Copy link
Contributor

@arai-a arai-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for addressing this!

The change itself looks good, but I think there's some room for the consistency between other sections.

<li>has a *"length"* property whose value is *1*<sub>𝔽</sub>.</li>
<li>has the following additional properties:</li>
</ul>
<p>The Object constructor has a [[Prototype]] internal slot whose value is %Function.prototype%. It also has the following properties:</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are multiple sections which still uses the "ul" listing even with 2 items

and also I don't see any existing paragraph that uses the new style.

So I think it's better keeping the "ul" listing style, with the length bullet removed, for the consistency.

Copy link
Member Author

@michaelficarra michaelficarra Aug 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the benefit of this kind of consistency. I think it's awkward to use a bulleted list to describe just 2 aspects of something, especially when they are as terse as this. I'd prefer to change the existing cases to use phrasing like what I've introduced here, and I also don't think that work would block landing this in its current form because, again, that kind of consistency isn't necessary. I'll open an issue.

edit: #3684

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, makes sense.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the benefit of this kind of consistency.

One benefit is easier automated processing + checking.

E.g., the "WebIDL in ES" effort wants "to produce a representation of ECMAScript built-ins that could be automatically generated from the ECMAScript specification HTML file", and these <ul> elements appear to be relevant to that.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I think it can help human readers. If you want certain kinds of info about an intrinsic object, you can look for a <p>+<ul> combo of a certain 'shape'.

@michaelficarra michaelficarra added the editor call to be discussed in the next editor call label Aug 31, 2025
@bakkot bakkot removed the editor call to be discussed in the next editor call label Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop the explicit function length and always use the implicit function length

4 participants