Extract subset of object based on another object's values in Javascript

前端 未结 0 1758
醉话见心
醉话见心 2021-01-14 10:44

Say I have two objects, one containing the data and another containing values which are keys in the former object:

const obj = {
    \'one\': {},
    \'two\':         


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