Skip to content

model object properties as records #3804

Open

Description

@michaelficarra

Object properties are these weird unnamed struct-like spec types whose fields are referred to as "attributes". See https://tc39.es/ecma262/#sec-object-type. This leads to some awkward phrasing and an inconsistent editorial style across the spec, as can be seen in OrdinaryGetOwnProperty and ValidateAndApplyPropertyDescriptor among others. This is part of our high-level goal of replacing these unusual and ill-defined structures with spec records (#2246, #2288, etc).

Activity

  1. bakkot commented on Apr 8, 2026

    @bakkot
    Member

    See also #1067

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions