export default ( obj = { } , keys ) => { if ( 'string' === typeof keys ) keys = keys . split ( /\s+/ ) ; return keys . reduce ( ( result , key ) => { result [ key ] = obj [ key ] ; return result ; } , { } ) ; } ;