Dynamic function name with input variables in React

后端 未结 0 637
-上瘾入骨i
-上瘾入骨i 2020-12-22 02:25

How to call a class method, where the method name is coming from the dynamic variable / object?

const actions = [{
   action: \'someMethodName\',
   params: \         


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