diff --git a/docs/new-syntax.md b/docs/new-syntax.md index 31d8ec9..21c7af0 100644 --- a/docs/new-syntax.md +++ b/docs/new-syntax.md @@ -103,6 +103,9 @@ enum E1 { // Shorthand field ( { x } ); + +// Brackets field +( { ["x"]: 10 } ); ``` ## Generators