Array.reduce() to build into [key, function()]

前端 未结 0 1878
闹比i
闹比i 2020-12-02 23:57

I\'m trying to use Array.reduce() to build something equivalent to:

scopedSlots: {
  "element_1": () => createElement(\'div\', \'hel         


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