---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# Headers.getSetCookie()

The **`getSetCookie()`** method of the [`Headers`](../../../globals/Headers/Headers.mdx) interface
returns an array of all the values of the `Set-Cookie` headers, returning
an empty list if none are present.

## Syntax

```js
getSetCookie()
```

### Return value

`String[]` representing the list of `Set-Cookie` headers.
