site/docs improvements
This commit is contained in:
1 parent
26ddb94f5d
commit
e584c7aa63
8 files changed
+33
-11
No files matched your search
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user