lodash has the pick function which is used as follows:var object = { 'a': 1, 'b': '2', 'c': 3 };_.pick(object, ['a', 'c']);// => { 'a': 1, 'c': 3 } I would ...
確定! 回上一頁