src/utils/utils.js
// Returns an new object with key/value pairs
Returns an new object with key/value pairs
Returns an new object with key / value pairs
function omit(obj, omitKeys) {
  const result = {}
  Object.keys(obj).forEach( key => {
    if(omitKeys.indexOf(key) === -1) {
      result[key] = obj[key];
    }
  })
  return result;
}
function omit ( obj , omitKeys ) { const result = { } Object . keys ( obj ) . forEach ( key => { if ( omitKeys . indexOf ( key ) === - 1 ) { result [ key ] = obj [ key ] ; } } ) return result ; }
Returns an new object with key/value pairs
Returns an new object with key / value pairs