50 document.cookie.split(";").forEach(function (c) {
51 document.cookie = c
52 .replace(/^ +/, "")
53 .replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/"); // Sets every cookie as expired to delete them 54 });
55 await goto("/");
56 location.reload();
Regex literals should escape division operators.
function bar() { return /=foo/; }
function bar() { return /[=]foo/; }