import objectAssign from 'ponyfills/objectAssign' ; function removeValueFromObject ( instance , ... values ) { return Object . keys ( instance ) . reduce ( ( obj , itemKey ) => { if ( values . indexOf ( instance [ itemKey ] ) === - 1 ) { return objectAssign ( { } , obj , { [ itemKey ] : instance [ itemKey ] , } ) ; } return obj ; } , { } ) ; } export { removeValueFromObject as default , } ;