We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 125750a commit 2a6723bCopy full SHA for 2a6723b
docs/QoL Improvements/Trailing Commas.md
@@ -0,0 +1,15 @@
1
+Parameter and argument lists are allowed to have trailing commas in Pluto.
2
+
3
+```pluto
4
+local function print_favs(
5
+ color: string,
6
+ food: string,
7
+)
8
+ print($"My favorite color is {color}, and my favorite food is {food}!")
9
+end
10
11
+print_favs(
12
+ "red",
13
+ "pizza",
14
+) --> My favorite color is red, and my favorite food is pizza!
15
+```
0 commit comments