function removeUndefinedKeys(obj) {
  for (let key in obj) {
    if (typeof obj[key] === 'undefined') {
      delete obj[key]
    }
  }

  return obj
}
Remove undefined keys from Object

@param  {Object} options
@return {Object}