import objectAssign from 'ponyfills/objectAssign' ; function dropFromObject ( instance , n ) { const keys = Object . keys ( instance ) ; let index = 0 ; return Object . keys ( instance ) . reduce ( ( obj , itemKey ) => { if ( n > index ) { index += 1 ; return obj ; } return objectAssign ( { } , obj , { [ itemKey ] : instance [ itemKey ] , } ) ; } , { } ) ; } export { dropFromObject as default , } ;