Is there lodash shortcut for spawning object from key name list and evaluator for them?

后端 未结 0 1786
我在风中等你
我在风中等你 2020-12-05 14:42

I often spawn Object from mapping certain field for their respective names, like this

_.zipObject([\'A\', \'B\', \'C\'], [\'A\', \'B\', \'C\'].map(evaluatorFN         


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