New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treatment of `length` is inconsistent in 9.4.2 and 9.4.3 #1236

Closed
rkirsling opened this Issue Jun 18, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@rkirsling
Member

rkirsling commented Jun 18, 2018

  • 9.4.2 has a long first paragraph describing the length property:

    Every Array object has a length property ...

    Yet it also has the following sentence dangling as its own paragraph afterwards:

    Array exotic objects always have a non-configurable property named "length".

    Seems like the latter should be deleted and the word "non-configurable" added to the former.

  • 9.4.3 exclusively uses "length" in its exposition:

    String exotic objects always have a data property named "length" ... Both the code unit data properties and the "length" property ...

    This is locally consistent, but I think it could be changed to just length for consistency with 9.4.2.


Note: The string "length" is used for good reason in the algorithmic steps; this issue is purely about the explanatory text.

@ljharb

This comment has been minimized.

Show comment
Hide comment
@ljharb

ljharb Jun 18, 2018

Member

Seems fine.

Member

ljharb commented Jun 18, 2018

Seems fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment