getSetCookie

The getSetCookie() method of the Headers interface returns an array containing the values of all Set-Cookie headers associated with a response.

MDN Reference