site/docs improvements

This commit is contained in:
sergeych committed 2025-11-28 11:25:47 +01:00
1 parent 26ddb94f5d
commit e584c7aa63
8 files changed
+33 -11

No files matched your search

+2
View File
@@ -1,6 +1,8 @@
# Map literals — refined proposal
[//]: # (excludeFromIndex)
Implement JavaScript-like literals for maps. The syntax and semantics align with named arguments in function calls, but map literals are expressions that construct `Map` values.
Keys can be either:
+4 -1
View File
@@ -1,4 +1,7 @@
# Named arguments proposal
# Named arguments in calls
[//]: # (excludeFromIndex)
Extend function/method calls to allow setting arguments by name using colon syntax at call sites. This is especially convenient with many parameters and default values.