Skip to content

Commit 4583957

Browse files
authored
Fix typo in docs for named arguments
The order of arguments in the output was swapped compared to what's correct; that's all.
1 parent 0da703e commit 4583957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/latest/function.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You can provide the arguments in **any order**:
124124
addCoordinates(~y=6, ~x=5)
125125
```
126126
```js
127-
addCoordinates(6, 5);
127+
addCoordinates(5, 6);
128128
```
129129

130130
</CodeTab>

0 commit comments

Comments
 (0)