Using switch in typescript with if statement

前端 未结 0 604
一向
一向 2021-02-06 04:36

what I did wrong in my code that when I\'m calling the function on case 2, the output comes from case 3. can I use the if inside the switch? I want that the code not enter to th

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