---
name: "up.util.except"
area: "API"
kind: "JavaScript function"
parent: "up.util module"
visibility: "deprecated"
url: "https://unpoly.com/api/up.util.except"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.util module](https://unpoly.com/api/up.util.md)</nav>

# up.util.except(object, ...keys)

**This feature has been deprecated**. Use [`up.util.omit(object, keys)`](https://unpoly.com/api/up.util.omit.md) (with an array argument) instead of `up.util.except(object, ...keys)` (with rest arguments).

Load [`unpoly-migrate.js`](https://unpoly.com/changes/upgrading.md) to polyfill deprecated features.

Returns a copy of the given object that contains all except the given keys.

---

## Parameters {#parameters}

### object {#object}

(required)

Type: [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects)

### ...keys {#keys}

(required)

Type: [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)

