"JavaScript Class Features A case study in TC39"
summary
Describes concrete class features landing in JavaScript: private fields and methods use hash-private fields with weakmap semantics, field initializers run per-instance, and private access is disallowed from meta‑programming. Proposal is at stage 3 with implementations in progress (V8/Chromium, SpiderMonkey) plus Babel and TypeScript support, and requires two native engines, conformance tests in test262, and a final spec PR before reaching stage 4.
AI-written summary · about
chapters (10)
- 0:00Introduction to new JS class features
- 3:53Private fields and methods
- 10:26History of JavaScript classes
- 12:16TC39 process and stages
- 14:03Private fields proposal development
- 19:15Stage 2 and semantic decisions
- 21:53Advancing to Stage 3
- 23:40Stage 3 debates and Stage 4 requirements
- 24:44How to get involved in TC39
- 28:45Q&A and closing
