Skip to content

More formal definition of array index #900

Open
@annevk

Description

@annevk

https://tc39.github.io/ecma262/#sec-array-exotic-objects seems to define array index somewhat informatively. Could there be a more formal definition there so it can be reused by IDL?

You probably also do not want to define it only for String properties, since as far as I can tell https://tc39.github.io/ecma262/#sec-array-exotic-objects-defineownproperty-p-desc can invoke it upon a Symbol, for which it would not be defined?

Something like an IsArrayIndex abstract operation would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    layeringaffects the public spec interface and may require updates to integrating specs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions