Does checking the instanceof a class inside another class have some negative side effect?

后端 未结 0 1863
我寻月下人不归
我寻月下人不归 2020-11-30 03:43

I am using ES6 Class, and I have a method like this

 wrapAsync(fn) {
    return (req, res) =>
      fn(req, res).catch((error) => {
        return this.         


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