What's the difference these two function calling conventions?

前端 未结 2 1373
栀梦
栀梦 2021-01-11 19:54

Functions can be called in a couple ways:

say(1, 2, 3) # 123
say: 1, 2, 3 # (1, 2, 3)

The latter seems to pass a Positional, b

2条回答
提交回复
热议问题