getAll
The getAll() method of the CookieStore interface returns a Promise that resolves as an array of cookies that match the name or options passed to it.
The getAll() method of the CookieStore interface returns a Promise that resolves as an array of cookies that match the name or options passed to it.