How can I get an array containing names of all cookies starting with word?
word
document.cookie.split('; ') .filter(c => c.startsWith('word'));