diff --git a/_data/de/stage3.yml b/_data/de/stage3.yml index 4be50da2..518f2f09 100644 --- a/_data/de/stage3.yml +++ b/_data/de/stage3.yml @@ -238,3 +238,44 @@ - Sven Sauleau - Dan Clark - Daniel Ehrenberg +- title: JSON Modules + id: proposal-json-modules + example: >- + import json from "./foo.json" assert { type: "json" }; + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-25.md#json-modules-for-stage-3 + has_specification: true + description: Proposal to import JSON files as modules. + authors: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark + champions: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark +- title: Ergonomic Brand Checks + id: proposal-private-fields-in-in + example: >- + class C { + #brand; + #method() {} + get #getter() {} + static isC(obj) { + return #brand in obj && #method in obj && #getter in obj; + } + } + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-27.md#ergonomic-brand-checks + has_specification: true + description: EcmaScript proposal to provide brand checks without exceptions. + authors: + - Jordan Harband + champions: + - Jordan Harband diff --git a/_data/en/stage3.yml b/_data/en/stage3.yml index 2abf1bdf..6548a80a 100644 --- a/_data/en/stage3.yml +++ b/_data/en/stage3.yml @@ -238,3 +238,44 @@ - Sven Sauleau - Dan Clark - Daniel Ehrenberg +- title: JSON Modules + id: proposal-json-modules + example: >- + import json from "./foo.json" assert { type: "json" }; + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-25.md#json-modules-for-stage-3 + has_specification: true + description: Proposal to import JSON files as modules. + authors: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark + champions: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark +- title: Ergonomic Brand Checks + id: proposal-private-fields-in-in + example: >- + class C { + #brand; + #method() {} + get #getter() {} + static isC(obj) { + return #brand in obj && #method in obj && #getter in obj; + } + } + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-27.md#ergonomic-brand-checks + has_specification: true + description: EcmaScript proposal to provide brand checks without exceptions. + authors: + - Jordan Harband + champions: + - Jordan Harband diff --git a/_data/ja/stage3.yml b/_data/ja/stage3.yml index e2569ea9..6f3da11b 100644 --- a/_data/ja/stage3.yml +++ b/_data/ja/stage3.yml @@ -238,3 +238,44 @@ - Sven Sauleau - Dan Clark - Daniel Ehrenberg +- title: JSON Modules + id: proposal-json-modules + example: >- + import json from "./foo.json" assert { type: "json" }; + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-25.md#json-modules-for-stage-3 + has_specification: true + description: Proposal to import JSON files as modules. + authors: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark + champions: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark +- title: Ergonomic Brand Checks + id: proposal-private-fields-in-in + example: >- + class C { + #brand; + #method() {} + get #getter() {} + static isC(obj) { + return #brand in obj && #method in obj && #getter in obj; + } + } + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-27.md#ergonomic-brand-checks + has_specification: true + description: EcmaScript proposal to provide brand checks without exceptions. + authors: + - Jordan Harband + champions: + - Jordan Harband diff --git a/_data/ru/stage3.yml b/_data/ru/stage3.yml index 4f350b2d..0fa390c8 100644 --- a/_data/ru/stage3.yml +++ b/_data/ru/stage3.yml @@ -238,3 +238,44 @@ - Sven Sauleau - Dan Clark - Daniel Ehrenberg +- title: JSON Modules + id: proposal-json-modules + example: >- + import json from "./foo.json" assert { type: "json" }; + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-25.md#json-modules-for-stage-3 + has_specification: true + description: Proposal to import JSON files as modules. + authors: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark + champions: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark +- title: Ergonomic Brand Checks + id: proposal-private-fields-in-in + example: >- + class C { + #brand; + #method() {} + get #getter() {} + static isC(obj) { + return #brand in obj && #method in obj && #getter in obj; + } + } + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-27.md#ergonomic-brand-checks + has_specification: true + description: EcmaScript proposal to provide brand checks without exceptions. + authors: + - Jordan Harband + champions: + - Jordan Harband diff --git a/_data/stage3.yml b/_data/stage3.yml index a42863e2..27ed1153 100644 --- a/_data/stage3.yml +++ b/_data/stage3.yml @@ -106,7 +106,7 @@ static #red = "#ff0000"; static #green = "#00ff00"; static #blue = "#0000ff"; - + static colorName(name) { switch (name) { case "red": return ColorFinder.#red; @@ -115,7 +115,7 @@ default: throw new RangeError("unknown color"); } } - + // Somehow use colorName } has_specification: true @@ -276,3 +276,42 @@ url: >- https://github.com/tc39/notes/blob/master/meetings/2020-09/sept-22.md#import-assertions-for-stage-3 title: Import Assertions +- title: JSON Modules + id: proposal-json-modules + example: >- + import json from "./foo.json" assert { type: "json" }; + presented: + - date: January\_2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-25.md#json-modules-for-stage-3 + has_specification: true + description: Proposal to import JSON files as modules. + authors: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark + champions: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark +- title: Ergonomic Brand Checks + id: proposal-private-fields-in-in + example: >- + class C { + #brand; + #method() {} + get #getter() {} + static isC(obj) { + return #brand in obj && #method in obj && #getter in obj; + } + } + presented: + - date: January\_2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-27.md#ergonomic-brand-checks + has_specification: true + description: EcmaScript proposal to provide brand checks without exceptions. + authors: + - Jordan Harband diff --git a/_data/zh-Hans/stage3.yml b/_data/zh-Hans/stage3.yml index 3bed808e..bc306152 100644 --- a/_data/zh-Hans/stage3.yml +++ b/_data/zh-Hans/stage3.yml @@ -238,3 +238,44 @@ - Sven Sauleau - Dan Clark - Daniel Ehrenberg +- title: JSON Modules + id: proposal-json-modules + example: >- + import json from "./foo.json" assert { type: "json" }; + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-25.md#json-modules-for-stage-3 + has_specification: true + description: Proposal to import JSON files as modules. + authors: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark + champions: + - Sven Sauleau + - Daniel Ehrenberg + - Myles Borins + - Dan Clark +- title: Ergonomic Brand Checks + id: proposal-private-fields-in-in + example: >- + class C { + #brand; + #method() {} + get #getter() {} + static isC(obj) { + return #brand in obj && #method in obj && #getter in obj; + } + } + presented: + - date: January 2021 + url: >- + https://github.com/tc39/notes/blob/master/meetings/2021-01/jan-27.md#ergonomic-brand-checks + has_specification: true + description: EcmaScript proposal to provide brand checks without exceptions. + authors: + - Jordan Harband + champions: + - Jordan Harband