ecma262 icon indicating copy to clipboard operation
ecma262 copied to clipboard

Editorial: Defining each kind of built-in exotic in one place

Open jmdyck opened this issue 2 years ago • 1 comments

Most kinds of built-in exotic object are defined in two places:

  • a section within 10.4 that gives the internal methods/slots, and
  • a section within 20-28 that defines intrinsics (constructor, prototype, methods, properties).

Is this separation useful? Maybe it would be better if, for each kind of built-in exotic, the two sections were brought together. (They'd still be separate, but they'd be adjacent under a single heading.)

Specifically, we could move:

and possibly:

jmdyck avatar Oct 29 '23 14:10 jmdyck

Sounds good to the editors. I would replace 10.4 with a section which lists and links to all of the places where exotics are defined in the spec, and mention in that section that the list is not exhaustive because hosts can add other kinds.

bakkot avatar Jan 10 '24 23:01 bakkot