Skip to content

Commit e3c155b

Browse files
ptomatoAditi-1400
authored andcommitted
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: tc39#2169
1 parent ff10e35 commit e3c155b

6 files changed

+24
-0
lines changed

spec/calendar.html

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

949+
<emu-note>
950+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
951+
</emu-note>
952+
949953
<emu-clause id="sec-temporal.calendar.prototype.constructor">
950954
<h1>Temporal.Calendar.prototype.constructor</h1>
951955
<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
@@ -92,6 +92,10 @@ <h1>Properties of the Temporal.PlainDate Prototype Object</h1>
9292
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
9393
</ul>
9494

95+
<emu-note>
96+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
97+
</emu-note>
98+
9599
<emu-clause id="sec-temporal.plaindate.prototype.constructor">
96100
<h1>Temporal.PlainDate.prototype.constructor</h1>
97101
<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
@@ -95,6 +95,10 @@ <h1>Properties of the Temporal.PlainDateTime Prototype Object</h1>
9595
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
9696
</ul>
9797

98+
<emu-note>
99+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
100+
</emu-note>
101+
98102
<emu-clause id="sec-temporal.plaindatetime.prototype.constructor">
99103
<h1>Temporal.PlainDateTime.prototype.constructor</h1>
100104
<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
@@ -79,6 +79,10 @@ <h1>Properties of the Temporal.PlainMonthDay Prototype Object</h1>
7979
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
8080
</ul>
8181

82+
<emu-note>
83+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
84+
</emu-note>
85+
8286
<emu-clause id="sec-temporal.plainmonthday.prototype.constructor">
8387
<h1>Temporal.PlainMonthDay.prototype.constructor</h1>
8488
<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
@@ -90,6 +90,10 @@ <h1>Properties of the Temporal.PlainYearMonth Prototype Object</h1>
9090
<li>has a [[Prototype]] internal slot whose value is %Object.prototype%.</li>
9191
</ul>
9292

93+
<emu-note>
94+
An ECMAScript implementation that includes the ECMA-402 Internationalization API extends this prototype with additional properties in order to represent calendar data.
95+
</emu-note>
96+
9397
<emu-clause id="sec-temporal.plainyearmonth.prototype.constructor">
9498
<h1>Temporal.PlainYearMonth.prototype.constructor</h1>
9599
<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)