How to avoid duplicated try/catch in switch case in NodeJS

前端 未结 0 742
隐瞒了意图╮
隐瞒了意图╮ 2021-01-28 10:28

Right now my code is like this:

const androidChannel = "android";
const iosChannel = "ios";
const smsChannel = "sms";
const emailCha         


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