Skip to content

Commit

Permalink
Fix documentation of supported JS Features (vercel#63640)
Browse files Browse the repository at this point in the history
### What?

Class Fields and Static Properties are already included in ES2022, not
in the proposal.

Co-authored-by: Steven <[email protected]>
  • Loading branch information
ykzts and styfle authored Mar 25, 2024
1 parent 1e710ab commit 9244100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/04-architecture/supported-browsers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Next.js allows you to use the latest JavaScript features out of the box. In addi
- [Dynamic `import()`](https://github.com/tc39/proposal-dynamic-import) (ES2020)
- [Optional Chaining](https://github.com/tc39/proposal-optional-chaining) (ES2020)
- [Nullish Coalescing](https://github.com/tc39/proposal-nullish-coalescing) (ES2020)
- [Class Fields](https://github.com/tc39/proposal-class-fields) and [Static Properties](https://github.com/tc39/proposal-static-class-features) (part of stage 3 proposal)
- [Class Fields](https://github.com/tc39/proposal-class-fields) and [Static Properties](https://github.com/tc39/proposal-static-class-features) (ES2022)
- and more!

### TypeScript Features
Expand Down

0 comments on commit 9244100

Please sign in to comment.