objeto JavaScript ExtrSCT
const pick = (...props) => o => props.reduce((a, e) => ({ ...a, [e]: o[e] }), {});
Itchy Iguana
const pick = (...props) => o => props.reduce((a, e) => ({ ...a, [e]: o[e] }), {});
pick('color', 'height')(elmo);