Skip to content

Commit 9e96f49

Browse files
committed
Editorial: Add notes about extension points for ECMA-402
As per TC39 plenary, the specification should include informative notes indicating where ECMA-402 extends prototypes with additional properties. Closes: #2169
1 parent 140885e commit 9e96f49

6 files changed

+24
-0
lines changed

spec/calendar.html

+4
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,10 @@ <h1>Properties of the Temporal.Calendar Prototype Object</h1>
868868
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
869869
</ul>
870870

871+
<emu-note>
872+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
873+
</emu-note>
874+
871875
<emu-clause id="sec-temporal.calendar.prototype.constructor">
872876
<h1>Temporal.Calendar.prototype.constructor</h1>
873877
<p>The initial value of `Temporal.Calendar.prototype.constructor` is %Temporal.Calendar%.</p>

spec/plaindate.html

+4
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ <h1>Properties of the Temporal.PlainDate Prototype Object</h1>
9393
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
9494
</ul>
9595

96+
<emu-note>
97+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
98+
</emu-note>
99+
96100
<emu-clause id="sec-temporal.plaindate.prototype.constructor">
97101
<h1>Temporal.PlainDate.prototype.constructor</h1>
98102
<p>The initial value of `Temporal.PlainDate.prototype.constructor` is %Temporal.PlainDate%.</p>

spec/plaindatetime.html

+4
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ <h1>Properties of the Temporal.PlainDateTime Prototype Object</h1>
9696
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
9797
</ul>
9898

99+
<emu-note>
100+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
101+
</emu-note>
102+
99103
<emu-clause id="sec-temporal.plaindatetime.prototype.constructor">
100104
<h1>Temporal.PlainDateTime.prototype.constructor</h1>
101105
<p>The initial value of `Temporal.PlainDateTime.prototype.constructor` is %Temporal.PlainDateTime%.</p>

spec/plainmonthday.html

+4
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ <h1>Properties of the Temporal.PlainMonthDay Prototype Object</h1>
8080
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
8181
</ul>
8282

83+
<emu-note>
84+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
85+
</emu-note>
86+
8387
<emu-clause id="sec-temporal.plainmonthday.prototype.constructor">
8488
<h1>Temporal.PlainMonthDay.prototype.constructor</h1>
8589
<p>The initial value of `Temporal.PlainMonthDay.prototype.constructor` is %Temporal.PlainMonthDay%.</p>

spec/plainyearmonth.html

+4
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ <h1>Properties of the Temporal.PlainYearMonth Prototype Object</h1>
9191
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
9292
</ul>
9393

94+
<emu-note>
95+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
96+
</emu-note>
97+
9498
<emu-clause id="sec-temporal.plainyearmonth.prototype.constructor">
9599
<h1>Temporal.PlainYearMonth.prototype.constructor</h1>
96100
<p>The initial value of `Temporal.PlainYearMonth.prototype.constructor` is %Temporal.PlainYearMonth%.</p>

spec/zoneddatetime.html

+4
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ <h1>Properties of the Temporal.ZonedDateTime Prototype Object</h1>
9393
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
9494
</ul>
9595

96+
<emu-note>
97+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
98+
</emu-note>
99+
96100
<emu-clause id="sec-temporal.zoneddatetime.prototype.constructor">
97101
<h1>Temporal.ZonedDateTime.prototype.constructor</h1>
98102
<p>The initial value of `Temporal.ZonedDateTime.prototype.constructor` is %Temporal.ZonedDateTime%.</p>

0 commit comments

Comments
 (0)