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