Skip to content

Commit 8fed776

Browse files
committed
remove stage 4 proposals
1 parent a2884dc commit 8fed776

File tree

1 file changed

+2
-118
lines changed

1 file changed

+2
-118
lines changed

β€Ž_data/stage3.yml

+2-118
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
- title: Function.prototype.toString revision
2-
description: for functions defined using ECMAScript code, toString must return source text slice from beginning of first token to end of last token matched by the appropriate grammar production
3-
authors:
4-
- Michael Ficarra
5-
champions:
6-
- Michael Ficarra
7-
tests:
8-
- https://github.com/tc39/test262/issues/1163
9-
specification: https://tc39.github.io/Function-prototype-toString-revision/
10-
example: >
11-
// String's parse must contains the same
12-
// function body and parameter list as the original.
13-
14-
O.gOPD({ get a(){} }, "a").get // "function a(){}"
15-
16-
O.gOPD({ set a(b){} }, "a").set // "function a(b){}"
17-
resources:
18-
- https://github.com/tc39/Function-prototype-toString-revision
19-
201
- title: globalThis
212
description: ECMAScript Proposal, specs, and reference implementation for globalThis
223
authors:
@@ -112,7 +93,7 @@
11293
11394
get #x() { return #xValue; }
11495
set #x(value) {
115-
this.#xValue = value;
96+
this.#xValue = value;
11697
window.requestAnimationFrame(this.#render.bind(this));
11798
}
11899
@@ -135,21 +116,6 @@
135116
resources:
136117
- https://github.com/tc39/proposal-private-methods
137118

138-
- title: Array.prototype.{flat,flatMap}
139-
description: Proposal for flatten and flatMap on arrays
140-
authors:
141-
- Brian Terlson
142-
- Michael Ficarra
143-
champions:
144-
- Brian Terlson
145-
- Michael Ficarra
146-
example: >
147-
[1, [2, [3]]].flat(Infinity); // [1,2,3]
148-
149-
[2, 3, 4].flatMap((x) => [x, x * 2]); // [2, 4, 3, 6, 4, 8]
150-
resources:
151-
- https://github.com/tc39/proposal-flatMap
152-
153119
- title: Class Public Instance Fields & Private Instance Fields
154120
description: This proposes a combined vision for public fields and private fields, drawing on the earlier Orthogonal Classes and Class Evaluation Order proposals.
155121
authors:
@@ -199,7 +165,7 @@
199165
// ^ static class fields
200166
201167
static white = "white";
202-
168+
203169
// ^ static public field.
204170
205171
static colorName(name) {
@@ -219,21 +185,6 @@
219185
// ^ Static private method
220186
}
221187
222-
- title: String.prototype.{trimStart,trimEnd}
223-
description: A proposal to extend ECMA-262 syntax into a superset of JSON.
224-
authors:
225-
- Sebastian MarkbΓ₯ge
226-
champions:
227-
- Sebastian MarkbΓ₯ge
228-
tests:
229-
- https://github.com/tc39/test262/pull/1246
230-
example: >
231-
" Hey JS!".trimStart(); // "Hey JS!"
232-
233-
"Hey JS! ".trimEnd(); // "Hey JS!"
234-
resources:
235-
- https://tc39.github.io/proposal-string-left-right-trim/
236-
237188
- title: String.prototype.matchAll
238189
description: If given a string, and either a sticky or a global regular expression which has multiple capturing groups, we often want to iterate through all of the matches.
239190
authors:
@@ -268,70 +219,3 @@
268219
*/
269220
resources:
270221
- https://tc39.github.io/proposal-string-matchall/
271-
272-
- title: Symbol.prototype.description
273-
description: Expose the [[Description]] internal slot of a symbol directly instead of just indirectly through Symbol.prototype.toString.
274-
authors:
275-
- Michael Ficarra
276-
champions:
277-
- Michael Ficarra
278-
tests:
279-
- https://github.com/tc39/test262/pull/1590
280-
example: >
281-
const symbol = Symbol('TC39');
282-
283-
console.log(symbol.description); // 'TC39'
284-
285-
console.log(symbol.hasOwnProperty('description')); // false
286-
resources:
287-
- https://tc39.github.io/proposal-Symbol-description/
288-
289-
- title: Object.fromEntries
290-
description: A proposal for a new static method Object.fromEntries in ECMAScript for transforming a list of key-value pairs into an object.
291-
authors:
292-
- Darien Maillet Valentine
293-
champions:
294-
- Jordan Harband
295-
- Kevin Gibbons
296-
example: >
297-
const iterableOfEntries = new Map([
298-
['cat', 'dog'],
299-
['life', 42]
300-
]);
301-
302-
const obj = Object.fromEntries(iterableOfEntries);
303-
304-
console.log(obj); // { cat: "dog", life: 42 }
305-
tests:
306-
- https://github.com/tc39/test262/pull/1677
307-
- https://github.com/tc39/test262/pull/1676
308-
resources:
309-
- https://tc39.github.io/proposal-object-from-entries/
310-
311-
- title: Well-formed JSON.stringify
312-
description: A proposal to prevent JSON.stringify from returning ill-formed Unicode strings.
313-
authors:
314-
- Richard Gibson
315-
champions:
316-
- Mathias Bynens
317-
tests:
318-
- https://github.com/tc39/test262/pull/1787
319-
specification: https://tc39.github.io/proposal-well-formed-stringify/
320-
example: >
321-
// Non-BMP characters still serialize to surrogate pairs.
322-
JSON.stringify('πŒ†')
323-
// β†’ '"πŒ†"'
324-
325-
JSON.stringify('\uD834\uDF06')
326-
// β†’ '"πŒ†"'
327-
328-
// Unpaired surrogate code units will serialize to escape sequences.
329-
JSON.stringify('\uDF06\uD834')
330-
// β†’ '"\\udf06\\ud834"'
331-
332-
JSON.stringify('\uDEAD')
333-
// β†’ '"\\udead"'
334-
335-
resources:
336-
- https://tc39.github.io/proposal-well-formed-stringify/
337-

0 commit comments

Comments
Β (0)