How enforce a method call typechecking for dynamic methods

后端 未结 0 564
滥情空心
滥情空心 2021-02-04 14:39

Consider a use case:

// library method, I can\'t edit it. Its calling my custom methods
function dynamicMethod(action, params) {
    ....
    call1[action](params         


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