Why does switch(“d”, a = 1, b = 2) not give any warning, error, or output?

后端 未结 0 1700
夕颜
夕颜 2021-01-06 01:18

Clearly, switch("d", a = 1, b = 2) does not have a default value, a value matching "d", or any reason to return anything. The documentation

相关标签:
回答
  • 消灭零回复
提交回复
热议问题