-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Editorial: replace Type(...) notation with a proper Type AO #3339
Conversation
|
||
<emu-clause id="sec-ecmascript-language-types"> | ||
<h1>ECMAScript Language Types</h1> | ||
<p>An <dfn variants="ECMAScript language types">ECMAScript language type</dfn> corresponds to values that are directly manipulated by an ECMAScript programmer using the ECMAScript language. The ECMAScript language types are Undefined, Null, Boolean, String, Symbol, Number, BigInt, and Object. An <dfn variants="ECMAScript language values">ECMAScript language value</dfn> is a value that is characterized by an ECMAScript language type.</p> | ||
|
||
<emu-clause id="sec-type-ao" type="abstract operation"> | ||
<h1> | ||
Type ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking this AO would be better placed in section 7 "Abstract Operations". (Note that its first use occurs in 7.2.9.) Now I'm less sure, but I thought I'd mention it anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I like it here. Section 7 AOs should probably be dispersed to relevant sections.
Feedback addressed. |
https://html.spec.whatwg.org/multipage/structured-data.html#structuredserializeinternal will need to be updated (and possibly others). |
Recapping editor call discussion: Let's hold off on this as @ljharb may have cycles to do the following to get us to the desired end-state of not having any type reflection at all:
|
Fixes #2870. This aligns with our goal of reducing our core concepts.