How to get returned value from passed function as parameter? Node JS

前端 未结 0 1570
礼貌的吻别
礼貌的吻别 2021-01-07 16:15

I have a function that uses function as a parameter and I need to get returned value from it

Example:

getFirstMessage(){
    foo(()=>{getId()});
}

         


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