Existing documentation URL(s)
https://developers.cloudflare.com/pages/functions/examples/ab-testing/
What changes are you suggesting?
On the line let cookie = request.headers.get("cookie"); the request variable seems to come from nowhere — I don't know how this could run.
Additional information
No response