-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
Description
Just summarizing the updates from: https://github.com/tc39/agendas/blob/master/2017/07.md
Can discuss changes as they pertain to Babel implementation (syntax).
babel-polyfill implementation is https://github.com/zloirock/core-js
EDIT: made some issues for Babel updates
New Proposals
- Binary AST 🙌 : Stage 1
- Optional Catch Binding
try {} catch {}: Stage 3 - Throw Expressions
throw new Error(''): Stage 1
Moving Forward
- BigInt
10n: Stage 2 to Stage 3- BigInt (Stage 3) [WIP] babel#6015 (we're not going to put in a stage preset given perf issues)
- Numeric Separators
1_000: Stage 1 to Stage 2 - export-ns-from
export * as ns from 'mod': Stage 1 to Stage 2 (also "consensus PR") - Class Fields
class A { #a = 1; b = 2 }: Stage 2 to Stage 3
Needs work
- export-default-from
export default from 'mod': Stayed at Stage 1 - Decorators
@a class A{}: Stayed at Stage 2 - Optional Chaining
a?.b: Stayed at Stage 1
Reactions are currently unavailable